Skip to content

Commit aa02da7

Browse files
fix import
1 parent f7db578 commit aa02da7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/OrdinaryDiffEq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ import ADTypes: AbstractADType,
108108
import Polyester
109109
using MacroTools, Adapt
110110

111-
using SciMLStructures: canonicalize, Tunable
111+
using SciMLStructures: canonicalize, Tunable, isscimlstructure
112112

113113
const CompiledFloats = Union{Float32, Float64,
114114
ForwardDiff.Dual{

src/initialize_dae.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ function _initialize_dae!(integrator, prob::ODEProblem,
528528
if isAD
529529
csize = count(algebraic_vars)
530530
if !(p isa SciMLBase.NullParameters) && typeof(_u) !== typeof(u)
531-
if SciMLStructures.isscimlstructure(p)
531+
if isscimlstructure(p)
532532
csize = max(csize, length(canonicalize(Tunable(), p)[1]))
533533
else
534534
csize = max(csize, length(p))

0 commit comments

Comments
 (0)