From 58331427ba6eb71c6ee7003ce85fbddd7e5a22a9 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:00:54 +0200 Subject: [PATCH] Use extras when initializing Jacobian --- src/internal/jacobian.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/jacobian.jl b/src/internal/jacobian.jl index 93d10f98b..b6ac8fa27 100644 --- a/src/internal/jacobian.jl +++ b/src/internal/jacobian.jl @@ -89,7 +89,7 @@ function JacobianCache(prob, alg, f::F, fu_, u, p; stats, autodiff = nothing, if iip DI.jacobian(f, fu, di_extras, autodiff, u, Constant(p)) else - DI.jacobian(f, autodiff, u, Constant(p)) + DI.jacobian(f, di_extras, autodiff, u, Constant(p)) end end else