Skip to content

Commit 399a860

Browse files
committed
Cleanups
1 parent 52c976f commit 399a860

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/algorithms/ctmrg/ctmrg.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ This determined either from the previous corner and edge singular values
191191
`CS_old` and `TS_old`, or alternatively, directly from the old environment.
192192
"""
193193
function calc_convergence(env, CS_old, TS_old)
194-
# TODO: convert CS from SectorVector to DiagonalTensorMap
195194
CS_new = map(svd_vals, env.corners)
196195
ΔCS = maximum(_singular_value_distance, zip(CS_old, CS_new))
197196

test/ctmrg/gaugefix.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ end
4545
alg = ctmrg_alg(; tol, projector_alg)
4646
env_pre, psi = preconv[(S, T, unitcell)]
4747
n = InfiniteSquareNetwork(psi)
48-
env_pre
4948
env, = leading_boundary(env_pre, psi, alg)
5049
env′, = ctmrg_iteration(n, env, alg)
5150
env_fixed, = gauge_fix(env, env′)

0 commit comments

Comments
 (0)