Skip to content

Commit fa3250f

Browse files
Update lib/ImplicitDiscreteSolve/src/solve.jl
1 parent e5f45c6 commit fa3250f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ImplicitDiscreteSolve/src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function perform_step!(integrator, cache::SimpleIDSolveCache, repeat_step = fals
77
prob = remake(prob, p = state)
88

99
u = solve(prob, SimpleNewtonRaphson())
10-
integrator.sol.retcode = u.retcode
10+
integrator.sol = SciMLBase.solution_new_retcode(integrator.sol, u.retcode)
1111
integrator.u = u
1212
end
1313

0 commit comments

Comments
 (0)