From 277ab9f3d10ec1e38753b5955d186dc5f9f0da95 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Mon, 7 Oct 2024 11:46:01 -0400 Subject: [PATCH] fix: simple klement implementation --- lib/SimpleNonlinearSolve/src/klement.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/SimpleNonlinearSolve/src/klement.jl b/lib/SimpleNonlinearSolve/src/klement.jl index 055f65bc3..31c4cca96 100644 --- a/lib/SimpleNonlinearSolve/src/klement.jl +++ b/lib/SimpleNonlinearSolve/src/klement.jl @@ -12,6 +12,7 @@ function SciMLBase.__solve(prob::ImmutableNonlinearProblem, alg::SimpleKlement, x = Utils.maybe_unaliased(prob.u0, alias_u0) T = eltype(x) fx = Utils.get_fx(prob, x) + fx = Utils.eval_f(prob, fx, x) abstol, reltol, tc_cache = NonlinearSolveBase.init_termination_cache( prob, abstol, reltol, fx, x, termination_condition, Val(:simple))