Skip to content

Commit deeceda

Browse files
committed
account for case when aliases.alias_u0 is nothing
1 parent cd532ec commit deeceda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/solve.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ function DiffEqBase.__init(prob::DiffEqBase.AbstractDDEProblem,
144144
u = recursivecopy(prob.u0)
145145
end
146146

147+
if isnothing(aliases.alias_u0)
148+
alias_u0 = false
149+
else
150+
alias_u0 = aliases.alias_u0
151+
end
152+
147153
# determine type and direction of time
148154
tType = eltype(tspan)
149155
t0 = first(tspan)

0 commit comments

Comments
 (0)