We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdef41c commit 0f50e0aCopy full SHA for 0f50e0a
lib/OrdinaryDiffEqCore/src/solve.jl
@@ -71,6 +71,7 @@ function DiffEqBase.__init(
71
initialize_integrator = true,
72
alias_u0 = false,
73
alias_du0 = false,
74
+ alias = ODEAliases(),
75
initializealg = DefaultInit(),
76
kwargs...) where {recompile_flag}
77
if prob isa DiffEqBase.AbstractDAEProblem && alg isa OrdinaryDiffEqAlgorithm
@@ -162,8 +163,11 @@ function DiffEqBase.__init(
162
163
p = prob.p
164
165
# Get the control variables
166
+ if isnothing(alias.alias_u0)
167
+ alias = ODEAliases(alias_u0)
168
+ end
169
- if alias_u0
170
+ if alias.alias_u0
171
u = prob.u0
172
else
173
u = recursivecopy(prob.u0)
0 commit comments