From 30bd738997c5673386a1699de01aa330c9f9c5de Mon Sep 17 00:00:00 2001 From: Romeo Valentin Date: Fri, 15 Aug 2025 15:33:50 +0200 Subject: [PATCH] fix: `kwargs` -> `cache.kwargs` This is nevery defined anywhere and thus invalid code and trips up JET. --- lib/NonlinearSolveFirstOrder/src/solve.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NonlinearSolveFirstOrder/src/solve.jl b/lib/NonlinearSolveFirstOrder/src/solve.jl index 56cbaac7b..f7f9a6cec 100644 --- a/lib/NonlinearSolveFirstOrder/src/solve.jl +++ b/lib/NonlinearSolveFirstOrder/src/solve.jl @@ -266,7 +266,7 @@ function InternalAPI.step!( end # In the 2nd call the `new_jacobian` is guaranteed to be `true`. cache.make_new_jacobian = true - InternalAPI.step!(cache; recompute_jacobian = true, kwargs...) + InternalAPI.step!(cache; recompute_jacobian = true, cache.kwargs...) return end end