Skip to content

Commit

Permalink
Update test/base/test_itensor.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
kmp5VT and mtfishman authored May 17, 2024
1 parent d7b7267 commit 1353fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/base/test_itensor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ end

T = random_itensor(ElType, j, k', i', l, k, j', i)
trT1 = tr(T)
@test eltype(trT1) === elt
trT2 = T * δ(ElType, i, i') * δ(ElType, j, j') * δ(ElType, k, k')
@test trT1 trT2
end
Expand Down

0 comments on commit 1353fac

Please sign in to comment.