Skip to content

Commit dd5b9ce

Browse files
committed
use the type for the ODESolution
1 parent 85fc371 commit dd5b9ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/solutions/ode_solutions.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@ function strip_solution(sol::ODESolution)
613613

614614
interp = strip_interpolation(sol.interp)
615615

616-
ODESolution(sol.u, sol.u_analytic, sol.errors,
616+
bigT = typeof(sol).parameters[1]
617+
bigN = typeof(sol).parameters[2]
618+
ODESolution{bigT,bigN}(sol.u, sol.u_analytic, sol.errors,
617619
sol.t, sol.k, sol.discretes, nothing, nothing,
618620
interp, sol.dense, sol.tslocation, sol.stats,
619621
sol.alg_choice, sol.retcode, sol.resid, sol.original)

0 commit comments

Comments
 (0)