We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff8f30 commit 25e8b1fCopy full SHA for 25e8b1f
src/contractnetwork.jl
@@ -18,7 +18,7 @@ function contraction_sequence_to_expr(seq)
18
end
19
20
function contraction_sequence(::Algorithm"leftassociative", tn::Vector{<:AbstractArray})
21
- return contraction_sequence_to_expr(collect(1:length(tn)))
+ return prod(symnameddims, 1:length(tn))
22
23
24
function contraction_sequence(tn::Vector{<:AbstractArray}; alg = default_sequence_alg)
0 commit comments