Skip to content

Commit fd172e5

Browse files
Merge pull request #102 from SciML/retcode
Update retcodes
2 parents 009a717 + 723bbff commit fd172e5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqDevTools"
22
uuid = "f3b72e0c-5b89-59e1-b016-84e28bfd966d"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "2.32.1"
4+
version = "2.32.2"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

src/test_solution.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,25 @@ mutable struct TestSolution{T, N, hasinterp, tType, uType, iType} <:
88
u::uType
99
interp::iType
1010
dense::Bool
11-
retcode::Symbol
11+
retcode::ReturnCode.T
1212
end
1313
(T::TestSolution)(t) = T.interp(t)
1414
function TestSolution(t, u)
1515
T = eltype(eltype(u))
1616
N = length((size(u[1])..., length(u)))
17-
TestSolution{T, N, false, typeof(t), typeof(u), Nothing}(t, u, nothing, false, :Success)
17+
TestSolution{T, N, false, typeof(t), typeof(u), Nothing}(t, u, nothing, false,
18+
ReturnCode.Success)
1819
end
1920
function TestSolution(t, u, interp)
2021
T = eltype(eltype(u))
2122
N = length((size(u[1])..., length(u)))
2223
TestSolution{T, N, true, typeof(t), typeof(u), typeof(interp)}(t, u, interp, true,
23-
:Success)
24+
ReturnCode.Success)
2425
end
2526
function TestSolution(interp::DESolution)
2627
TestSolution{Nothing, 0, true, Nothing, Nothing, typeof(interp)}(nothing, nothing,
27-
interp, true, :Success)
28+
interp, true,
29+
ReturnCode.Success)
2830
end
2931
function hasinterp(::TestSolution{T, N, hi, tType, uType, iType}) where {T, N, hi, tType,
3032
uType, iType}

0 commit comments

Comments
 (0)