Skip to content

Commit ede04b9

Browse files
authored
Fix sweeps in finite to infinite MPS conversion
1 parent 6852c0e commit ede04b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/infinitemps_approx.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function infinitemps_approx(
5151

5252
ψ = replace_siteinds(ψ, s∞)
5353

54-
for sweep in 1:10
54+
for sweep in 1:nsweeps
5555
# XXX: these are just used for testing
5656
TL = ITensor(1)
5757
for n in 1:N

0 commit comments

Comments
 (0)