Skip to content

Commit

Permalink
Match abstol with the rest of NonlinearSolve
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Dec 22, 2023
1 parent efd1a0a commit 8866d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function ___kinsol(f,
linear_solver = :Dense,
jac_upper = 0,
jac_lower = 0,
abstol::Float64 = 1e-6)
abstol::Float64 = eps(Float64) ^ (4 // 5))
# f, Function to be optimized of the form f(y::Vector{Float64}, fy::Vector{Float64})
# where `y` is the input vector, and `fy` is the result of the function
# y0, Vector of initial values
Expand Down

0 comments on commit 8866d03

Please sign in to comment.