Skip to content

Commit 53b7444

Browse files
committed
Minor fix in Runge-Kutta integrators.
1 parent b59fcd4 commit 53b7444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrators/rk/abstract.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ GeometricBase.tableau(int::GeometricIntegrator{<:EquationProblem, <:RKMethod}) =
5555
initmethod(method::RKMethod) = RK(method)
5656
initmethod(method::PRKMethod) = PRK(method)
5757

58-
GeometricIntegrator(problem::Union{PODEProblem,HODEProblem}, method::RKMethod, args...; kwargs...) = GeometricIntegrator(problem, PRK(method), args...; kwargs...)
58+
GeometricIntegrator(problem::AbstractProblemPODE, method::RKMethod, args...; kwargs...) = GeometricIntegrator(problem, PRK(method), args...; kwargs...)

0 commit comments

Comments
 (0)