Skip to content

Commit

Permalink
attempt IV
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed May 30, 2024
1 parent 1cdf82f commit f7987d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/algorithms/ctmrg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,7 @@ function left_move(state, env::CTMRGEnv{C,T}, alg::CTMRG) where {C,T}
# Compute SVD truncation error and check for degenerate singular values
ignore_derivatives() do
if alg.verbosity > 0 && is_degenerate_spectrum(S)
svals = TensorKit.SectorDict{sectortype(S)}(
(c => diag(b) for (c, b) in blocks(S))...
)
svals = TensorKit.SectorDict(c => diag(b) for (c, b) in blocks(S))
@warn("degenerate singular values detected: ", svals)
end
end
Expand Down

0 comments on commit f7987d0

Please sign in to comment.