Skip to content

Commit

Permalink
Fix permutation test
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Jul 5, 2024
1 parent e552ebd commit 3e00f7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/integration/KrylovKit_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
@test isapprox(reconstructed_tensor, tensor)

# Test consistency with permuted tensor
tensor_permuted = Tensor(data, (:j, :i))

vals_perm, vecs_perm, info = eigsolve(tensor_permuted; left_inds=[:j], right_inds=[:i])
vals_perm, vecs_perm, info = eigsolve(tensor; left_inds=[:j], right_inds=[:i])

@test length(vals_perm) == 4
@test length(vecs_perm) == 4
Expand Down

0 comments on commit 3e00f7b

Please sign in to comment.