Skip to content

Commit

Permalink
Explicit kwargs in applyexp
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Nov 3, 2023
1 parent d6bce6b commit 147d8e4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/treetensornetworks/solvers/applyexp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 147d8e4

Please sign in to comment.