Skip to content

Commit

Permalink
add maxiter to default convcrit of GILTTNR
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVanthilt committed Feb 8, 2025
1 parent 10c1767 commit d96694c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemes/gilt-tnr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mutable struct GILTTNR <: TNRScheme
ε::Float64
giltcrit::stopcrit
finalize!::Function
function GILTTNR(T::TensorMap; ε=5e-8, giltcrit=trivial_convcrit(1e-2),
function GILTTNR(T::TensorMap; ε=5e-8, giltcrit=trivial_convcrit(1e-2)&maxiter(50),
finalize=finalize!)
return new(copy(T), ε, giltcrit, finalize)
end
Expand Down

0 comments on commit d96694c

Please sign in to comment.