Skip to content

Commit 25b2cf6

Browse files
committed
Fix typo
1 parent fd1c7e1 commit 25b2cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contractnetwork.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function contraction_sequence(tn::Vector{<:AbstractArray}; sequence_alg = defaul
2828
end
2929

3030
function contractnetwork(alg::Algorithm"exact", tn::Vector{<:AbstractArray})
31-
if haskey(alg, :sequence) && !isnothing(alg.sequence)
31+
if !isnothing(alg.sequence)
3232
sequence = alg.sequence
3333
else
3434
sequence = contraction_sequence(tn; alg.sequence_alg)

0 commit comments

Comments
 (0)