diff --git a/src/treetensornetworks/solvers/applyexp.jl b/src/treetensornetworks/solvers/applyexp.jl index f18e8091..6e84036e 100644 --- a/src/treetensornetworks/solvers/applyexp.jl +++ b/src/treetensornetworks/solvers/applyexp.jl @@ -21,12 +21,7 @@ struct ApplyExpInfo converged::Int end -function applyexp(H, tau::Number, x0; kwargs...) - maxiter = get(kwargs, :maxiter, 30) - tol = get(kwargs, :tol, 1E-12) - outputlevel = get(kwargs, :outputlevel, 0) - beta_tol = get(kwargs, :normcutoff, 1E-7) - +function applyexp(H, tau::Number, x0; maxiter=30, tol=1e-12, outputlevel=0, normcutoff=1e-7) # Initialize Lanczos vectors v1 = copy(x0) nrm = norm(v1)