Skip to content

Commit

Permalink
Merge pull request SciML#38 from pepijndevos/new-branch
Browse files Browse the repository at this point in the history
Change typeof(x) <: y to x isa y
  • Loading branch information
ChrisRackauckas authored Nov 2, 2023
2 parents 735927e + 7400fb7 commit da9eb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MATLABDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function DiffEqBase.__solve(
f = prob.f
u0 = prob.u0

if typeof(saveat) <: Number
if saveat isa Number
tspan = Array(prob.tspan[1]:saveat:prob.tspan[2])
tspan = sort(unique([prob.tspan[1]; tspan; prob.tspan[2]]))
else
Expand Down

0 comments on commit da9eb9e

Please sign in to comment.