Skip to content

Commit 68acebb

Browse files
committed
more rightunitspaces in tests
1 parent de8cb81 commit 68acebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/operators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ module TestOperators
213213
FiniteMPOHamiltonian(grid, horizontal_operators) atol = 1.0e-4
214214

215215
H5 = changebonds(H4 / 3 + 2H4 / 3, SvdCut(; trscheme = trunctol(; atol = 1.0e-12)))
216-
psi = FiniteMPS(physicalspace(H5), V oneunit(V))
216+
psi = FiniteMPS(physicalspace(H5), V rightunitspace(V))
217217
@test expectation_value(psi, H4) expectation_value(psi, H5)
218218
end
219219
end
@@ -366,7 +366,7 @@ module TestOperators
366366
367367
@testset "DenseMPO" for ham in (transverse_field_ising(), heisenberg_XXX(; spin = 1))
368368
pspace = physicalspace(ham, 1)
369-
ou = oneunit(pspace)
369+
ou = rightunitspace(pspace)
370370
371371
ψ = InfiniteMPS([pspace], [ou ⊕ pspace])
372372

0 commit comments

Comments
 (0)