Skip to content

Commit d52b735

Browse files
Merge pull request #3733 from oscardssmith/os/bump-di
fix linearization t0 and bump di
2 parents caef3d9 + 948ef56 commit d52b735

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ DiffEqBase = "6.170.1"
106106
DiffEqCallbacks = "2.16, 3, 4"
107107
DiffEqNoiseProcess = "5"
108108
DiffRules = "0.1, 1.0"
109-
DifferentiationInterface = "0.6.47"
109+
DifferentiationInterface = "0.6.47, 0.7"
110110
Distributed = "1"
111111
Distributions = "0.23, 0.24, 0.25"
112112
DocStringExtensions = "0.7, 0.8, 0.9"

src/linearization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ struct PreparedJacobian{iip, P, F, B, A}
174174
end
175175

176176
function PreparedJacobian{true}(f, buf, autodiff, args...)
177-
prep = DI.prepare_jacobian(f, buf, autodiff, args...)
177+
prep = DI.prepare_jacobian(f, buf, autodiff, args...; strict = Val(false))
178178
return PreparedJacobian{true, typeof(prep), typeof(f), typeof(buf), typeof(autodiff)}(
179179
prep, f, buf, autodiff)
180180
end
181181

182182
function PreparedJacobian{false}(f, autodiff, args...)
183-
prep = DI.prepare_jacobian(f, autodiff, args...)
183+
prep = DI.prepare_jacobian(f, autodiff, args...; strict = Val(false))
184184
return PreparedJacobian{true, typeof(prep), typeof(f), Nothing, typeof(autodiff)}(
185185
prep, f, nothing)
186186
end

0 commit comments

Comments
 (0)