Skip to content

Commit 4116153

Browse files
Merge pull request #1795 from SciML/composite
Update return codes on composite solutions
2 parents 8862fcb + 9a27ed7 commit 4116153

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/composite_solution.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct ODECompositeSolution{T, N, uType, uType2, EType, tType, rateType, P, A, I
1212
dense::Bool
1313
tslocation::Int
1414
destats::DE
15-
retcode::Symbol
15+
retcode::ReturnCode.T
1616
end
1717

1818
function DiffEqBase.build_solution(prob::Union{DiffEqBase.AbstractODEProblem,

test/regression/hard_dae.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ prob1 = ODEProblem(fun, [5, 0, 0.0], (0, 4.0), [100, 10.0])
243243
prob2 = ODEProblem(fun, [5, 0, 0.0], (0, 4.0), [100, 10.0])
244244
for prob in [prob1, prob2]
245245
@test solve(prob, ImplicitEuler(), dt = 1 / 2^10, adaptive = false).retcode ==
246-
:ConvergenceFailure
246+
ReturnCode.ConvergenceFailure
247247
end
248248

249249
condition2 = (u, t, integrator) -> t == 2

0 commit comments

Comments
 (0)