Skip to content

Commit 787701e

Browse files
committed
remove logging wrong energy
1 parent 9719763 commit 787701e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/algorithms/groundstate/idmrg.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ function find_groundstate(ost::InfiniteMPS, H, alg::IDMRG, envs = environments(o
6363
ϵ = norm(C_current - ψ.C[0])
6464

6565
if ϵ < alg.tol
66-
@infov 2 logfinish!(log, iter, ϵ, expectation_value(ψ, H, envs))
66+
@infov 2 logfinish!(log, iter, ϵ)
6767
break
6868
end
6969
if iter == alg.maxiter
70-
@warnv 1 logcancel!(log, iter, ϵ, expectation_value(ψ, H, envs))
70+
@warnv 1 logcancel!(log, iter, ϵ)
7171
else
72-
@infov 3 logiter!(log, iter, ϵ, expectation_value(ψ, H, envs))
72+
@infov 3 logiter!(log, iter, ϵ)
7373
end
7474
end
7575
end

0 commit comments

Comments
 (0)