File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ abstract type HDAEMethod <: GeometricMethod end
16
16
abstract type IDAEMethod <: GeometricMethod end
17
17
abstract type LDAEMethod <: GeometricMethod end
18
18
19
+ initmethod (method:: GeometricMethod ) = method
20
+ initmethod (method:: GeometricMethod , :: AbstractProblem ) = initmethod (method)
21
+
19
22
internal_variables (:: GeometricMethod , :: GeometricProblem ) = NamedTuple ()
20
23
nullvector (:: GeometricMethod ) = nothing
21
24
GeometricBase. tableau (:: GeometricMethod ) = missing
@@ -24,9 +27,6 @@ default_solver(::GeometricMethod) = NoSolver()
24
27
default_iguess (:: GeometricMethod ) = NoInitialGuess ()
25
28
default_projection (:: GeometricMethod ) = NoProjection ()
26
29
27
- initmethod (method:: GeometricMethod ) = method
28
- initmethod (method:: GeometricMethod , :: AbstractProblem ) = initmethod (method)
29
-
30
30
isodemethod (:: Union{GeometricMethod, Type{<:GeometricMethod}} ) = false
31
31
ispodemethod (:: Union{GeometricMethod, Type{<:GeometricMethod}} ) = false
32
32
ishodemethod (:: Union{GeometricMethod, Type{<:GeometricMethod}} ) = false
You can’t perform that action at this time.
0 commit comments