Skip to content

Commit 7400fb7

Browse files
author
Pepijn de Vos
committed
Change typeof(x) <: y to x isa y
1 parent 735927e commit 7400fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MATLABDiffEq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function DiffEqBase.__solve(
3737
f = prob.f
3838
u0 = prob.u0
3939

40-
if typeof(saveat) <: Number
40+
if saveat isa Number
4141
tspan = Array(prob.tspan[1]:saveat:prob.tspan[2])
4242
tspan = sort(unique([prob.tspan[1]; tspan; prob.tspan[2]]))
4343
else

0 commit comments

Comments
 (0)