Skip to content

Commit

Permalink
Fix dims eltype in contract call
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Sep 12, 2023
1 parent 00aa2a3 commit b3b7bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Transformations_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
@test length(tn.indices) > length(reduced.indices)

# Test that the resulting contraction is the same as the original
@test contract(reduced) contract(contract(A, B; dims = []), C)
@test contract(reduced) contract(contract(A, B; dims = Symbol[]), C)
end

@testset "index size reduction" begin
Expand Down

0 comments on commit b3b7bf9

Please sign in to comment.