Skip to content

Commit 5b9e7ab

Browse files
ChrisRackauckasdevmotion
authored andcommitted
Merge pull request #3733 from oscardssmith/os/bump-di
fix linearization t0 and bump di (cherry picked from commit d52b735)
1 parent 7c6ade0 commit 5b9e7ab

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
@@ -101,7 +101,7 @@ DiffEqBase = "6.170.1"
101101
DiffEqCallbacks = "2.16, 3, 4"
102102
DiffEqNoiseProcess = "5"
103103
DiffRules = "0.1, 1.0"
104-
DifferentiationInterface = "0.6.47"
104+
DifferentiationInterface = "0.6.47, 0.7"
105105
Distributed = "1"
106106
Distributions = "0.23, 0.24, 0.25"
107107
DocStringExtensions = "0.7, 0.8, 0.9"

src/linearization.jl

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

165165
function PreparedJacobian{true}(f, buf, autodiff, args...)
166-
prep = DI.prepare_jacobian(f, buf, autodiff, args...)
166+
prep = DI.prepare_jacobian(f, buf, autodiff, args...; strict = Val(false))
167167
return PreparedJacobian{true, typeof(prep), typeof(f), typeof(buf), typeof(autodiff)}(
168168
prep, f, buf, autodiff)
169169
end
170170

171171
function PreparedJacobian{false}(f, autodiff, args...)
172-
prep = DI.prepare_jacobian(f, autodiff, args...)
172+
prep = DI.prepare_jacobian(f, autodiff, args...; strict = Val(false))
173173
return PreparedJacobian{true, typeof(prep), typeof(f), Nothing, typeof(autodiff)}(
174174
prep, f, nothing)
175175
end

0 commit comments

Comments
 (0)