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 735927e commit 7400fb7Copy full SHA for 7400fb7
src/MATLABDiffEq.jl
@@ -37,7 +37,7 @@ function DiffEqBase.__solve(
37
f = prob.f
38
u0 = prob.u0
39
40
- if typeof(saveat) <: Number
+ if saveat isa Number
41
tspan = Array(prob.tspan[1]:saveat:prob.tspan[2])
42
tspan = sort(unique([prob.tspan[1]; tspan; prob.tspan[2]]))
43
else
0 commit comments