Skip to content

Commit 59d5fe8

Browse files
Change tspan initialization
Co-authored-by: Christopher Rackauckas <[email protected]>
1 parent 3642512 commit 59d5fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MATLABDiffEq.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function DiffEqBase.__solve(
3030
u0 = prob.u0
3131

3232
if typeof(saveat) <: Number
33-
tspan = [prob.tspan[1]:saveat:prob.tspan[2];]
33+
tspan = Array(prob.tspan[1]:saveat:prob.tspan[2])
3434
tspan = sort(unique([prob.tspan[1];tspan;prob.tspan[2]]))
3535
else
3636
tspan = sort(unique([prob.tspan[1];saveat;prob.tspan[2]]))

0 commit comments

Comments
 (0)