@@ -8,23 +8,25 @@ mutable struct TestSolution{T, N, hasinterp, tType, uType, iType} <:
8
8
u:: uType
9
9
interp:: iType
10
10
dense:: Bool
11
- retcode:: Symbol
11
+ retcode:: ReturnCode.T
12
12
end
13
13
(T:: TestSolution )(t) = T. interp (t)
14
14
function TestSolution (t, u)
15
15
T = eltype (eltype (u))
16
16
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)
18
19
end
19
20
function TestSolution (t, u, interp)
20
21
T = eltype (eltype (u))
21
22
N = length ((size (u[1 ])... , length (u)))
22
23
TestSolution {T, N, true, typeof(t), typeof(u), typeof(interp)} (t, u, interp, true ,
23
- : Success )
24
+ ReturnCode . Success)
24
25
end
25
26
function TestSolution (interp:: DESolution )
26
27
TestSolution {Nothing, 0, true, Nothing, Nothing, typeof(interp)} (nothing , nothing ,
27
- interp, true , :Success )
28
+ interp, true ,
29
+ ReturnCode. Success)
28
30
end
29
31
function hasinterp (:: TestSolution{T, N, hi, tType, uType, iType} ) where {T, N, hi, tType,
30
32
uType, iType}
0 commit comments