Skip to content

Commit

Permalink
Try fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 14, 2024
1 parent ae96276 commit bfa83bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/ITensorMPS/test/Ops/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@eval module $(gensym())
using ITensors
using Test

Expand All @@ -14,3 +15,4 @@ ITensors.disable_threaded_blocksparse()
@time include(filename)
end
end
end
2 changes: 2 additions & 0 deletions src/lib/ITensorMPS/test/Ops/test_ops_mpo.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@eval module $(gensym())
using Test
using ITensors
using ITensors.Ops
Expand Down Expand Up @@ -95,3 +96,4 @@ end
@test norm(replaceprime(H' * H, 2 => 1) - H²) 0 atol = 1e-14
@test norm(H(H) - H²) 0 atol = 1e-14
end
end
2 changes: 2 additions & 0 deletions src/lib/ITensorMPS/test/Ops/test_trotter.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@eval module $(gensym())
using Test
using ITensors
using ITensors.Ops
Expand Down Expand Up @@ -36,3 +37,4 @@ end
end
end
end
end

0 comments on commit bfa83bb

Please sign in to comment.