Skip to content

Commit

Permalink
extend meta args
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot committed Feb 22, 2021
1 parent 003486f commit ee2fce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Stopping/StoppingMetamod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ function StoppingMeta(;atol :: Number = 1.0e-6,
max_time :: Float64 = 300.0,
start_time :: Float64 = NaN,
meta_user_struct :: Any = nothing,
user_check_func! :: Function = (stp :: AbstractStopping, start :: Bool) -> nothing)
user_check_func! :: Function = (stp :: AbstractStopping, start :: Bool) -> nothing,
kwargs...)

check_pos = tol_check(atol, rtol, optimality0)
check_neg = tol_check_neg(atol, rtol, optimality0)
Expand Down

0 comments on commit ee2fce2

Please sign in to comment.