Skip to content

Commit 0277d3d

Browse files
Merge pull request #4011 from SciML/dmw/backport_3733
Backport #3733 (update to DI@0.7) to MTK@9
2 parents 7c6ade0 + 62dfa1f commit 0277d3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelingToolkit"
22
uuid = "961ee093-0014-501f-94e3-6117800e7a78"
33
authors = ["Yingbo Ma <mayingbo5@gmail.com>", "Chris Rackauckas <accounts@chrisrackauckas.com> and contributors"]
4-
version = "9.83.0"
4+
version = "9.84.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -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)