Skip to content

Commit 7738733

Browse files
Update solve.jl
1 parent a385107 commit 7738733

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solve.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,11 @@ function solve!(dde_int::DDEIntegrator)
153153
sol = build_solution(dde_int.sol::AbstractODESolution,u_analytic,errors)
154154
calculate_solution_errors!(sol;fill_uanalytic=false,timeseries_errors=dde_int.opts.timeseries_errors,dense_errors=dde_int.opts.dense_errors)
155155
sol.retcode = :Success
156+
return sol
156157
else
157158
dde_int.sol.retcode = :Success
159+
return dde_int.sol
158160
end
159-
return dde_int.sol
160161
end
161162

162163
function solve{uType,tType,isinplace,algType<:AbstractMethodOfStepsAlgorithm,lType,F,H}(

0 commit comments

Comments
 (0)