Skip to content

Commit a20612f

Browse files
committed
even more rightunitspaces
1 parent 68acebb commit a20612f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/algorithms/timestep/wii.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ function make_time_mpo(
9494
H′ = copy(parent(H))
9595

9696
V_left = left_virtualspace(H[1])
97-
V_left′ = (V_left, oneunit(V_left), oneunit(V_left))
97+
V_left′ = (V_left, rightunitspace(V_left), rightunitspace(V_left))
9898
H′[1] = similar(H[1], V_left′ space(H[1], 2) domain(H[1]))
9999
for (I, v) in nonzero_pairs(H[1])
100100
H′[1][I] = v
101101
end
102102

103103
V_right = right_virtualspace(H[end])
104-
V_right′ = (oneunit(V_right), oneunit(V_right), V_right)
104+
V_right′ = (rightunitspace(V_right), rightunitspace(V_right), V_right)
105105
H′[end] = similar(H[end], codomain(H[end]) space(H[end], 3)' V_right′)
106106
for (I, v) in nonzero_pairs(H[end])
107107
H′[end][I[1], 1, 1, end] = v

0 commit comments

Comments
 (0)