Skip to content

Commit 3f1bc27

Browse files
Update jacobian.jl
1 parent 601d60c commit 3f1bc27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/NonlinearSolveBase/src/jacobian.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ function construct_jacobian_cache(
5252
end
5353
autodiff = construct_concrete_adtype(f, autodiff)
5454
di_extras = if SciMLBase.isinplace(f)
55-
DI.prepare_jacobian(f, fu_cache, autodiff, u, Constant(p))
55+
DI.prepare_jacobian(f, fu_cache, autodiff, u, Constant(p), strict = Val(false))
5656
else
57-
DI.prepare_jacobian(f, autodiff, u, Constant(p))
57+
DI.prepare_jacobian(f, autodiff, u, Constant(p), strict = Val(false))
5858
end
5959
else
6060
di_extras = nothing

0 commit comments

Comments
 (0)