Skip to content

Commit a13b48b

Browse files
hotfix u0 change
1 parent 34465dc commit a13b48b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqBase"
22
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
4-
version = "6.36.1"
4+
version = "6.36.2"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/solve.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function get_concrete_problem(prob; kwargs...)
135135
u0 = get_concrete_u0(prob, tspan[1], kwargs)
136136
u0_promote = promote_u0(u0, p, tspan[1])
137137
tspan_promote = promote_tspan(u0, p, tspan, prob, kwargs)
138-
if isconcreteu0(prob, tspan[1], kwargs) && typeof(u0_promote) === typeof(u0) &&
138+
if isconcreteu0(prob, tspan[1], kwargs) && typeof(u0_promote) === typeof(prob.u0) &&
139139
prob.tspan == tspan && typeof(tspan) === typeof(tspan_promote) &&
140140
p == prob.p
141141
return prob
@@ -229,10 +229,10 @@ end
229229
function __solve(prob::DEProblem,args...;default_set=false,second_time=false,kwargs...)
230230
if second_time
231231
error("""
232-
Default algorithm choices require DifferentialEquations.jl.
232+
Default algorithm choices require DifferentialEquations.jl.
233233
Please specify an algorithm (e.g., `solve(prob, Tsit5())` for an ODE)
234234
or import DifferentialEquations directly.
235-
235+
236236
You can find the list of available solvers at https://docs.sciml.ai/stable/solvers/ode_solve/
237237
and its associated pages.
238238
"""

0 commit comments

Comments
 (0)