Skip to content

Commit 52bd374

Browse files
committed
fix deprecation warnings
1 parent b41cd92 commit 52bd374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/algorithms/statmech/idmrg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function leading_boundary(
1919
for row in 1:size(ψ, 1)
2020
ac = ψ.AC[row, col]
2121
(col == size(ψ, 2)) && (ac = copy(ac)) # needed in next sweep
22-
ψ.AL[row, col], ψ.C[row, col] = leftorth!(ac)
22+
ψ.AL[row, col], ψ.C[row, col] = left_orth!(ac)
2323
end
2424

2525
transfer_leftenv!(envs, ψ, operator, ψ, col + 1)
@@ -31,7 +31,7 @@ function leading_boundary(
3131
_, ψ.AC[:, col] = fixedpoint(Hac, ψ.AC[:, col], :LM, alg_eigsolve)
3232

3333
for row in 1:size(ψ, 1)
34-
ψ.C[row, col - 1], temp = rightorth!(_transpose_tail.AC[row, col]))
34+
ψ.C[row, col - 1], temp = right_orth!(_transpose_tail.AC[row, col]; copy = true))
3535
ψ.AR[row, col] = _transpose_front(temp)
3636
end
3737

0 commit comments

Comments
 (0)