Skip to content

Commit 34d1853

Browse files
authored
Merge pull request #2287 from SciML/dw/warnings
Fix warnings due to name conflicts with OrdinaryDiffEq
2 parents 984c262 + 7d21fd5 commit 34d1853

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
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 <[email protected]>", "Chris Rackauckas <[email protected]> and contributors"]
4-
version = "8.71.0"
4+
version = "8.71.1"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/ModelingToolkit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ using PrecompileTools, Reexport
6767
substituter, scalarize, getparent
6868

6969
import DiffEqBase: @add_kwonly
70+
import OrdinaryDiffEq
7071

7172
import Graphs: SimpleDiGraph, add_edge!, incidence_matrix
7273

src/systems/abstractsystem.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using OrdinaryDiffEq
21
const SYSTEM_COUNT = Threads.Atomic{UInt}(0)
32

43
get_component_type(x::AbstractSystem) = get_gui_metadata(x).type
@@ -1293,7 +1292,7 @@ function linearization_function(sys::AbstractSystem, inputs,
12931292
residual = fun(u, p, t)
12941293
if norm(residual[alge_idxs]) > (eps(eltype(residual)))
12951294
prob = ODEProblem(fun, u, (t, t + 1), p)
1296-
integ = init(prob, Rodas5P())
1295+
integ = init(prob, OrdinaryDiffEq.Rodas5P())
12971296
u = integ.u
12981297
end
12991298
end

0 commit comments

Comments
 (0)