Skip to content

Commit 2694a9f

Browse files
Fix the abstract type hierarchy
1 parent e9ea427 commit 2694a9f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/NonlinearSolve.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ import RecursiveFactorization
1414

1515
@reexport using SciMLBase
1616

17-
abstract type AbstractNonlinearProblem{uType,isinplace} end
18-
abstract type AbstractNonlinearSolveAlgorithm end
17+
abstract type AbstractNonlinearSolveAlgorithm <: SciMLBase.AbstractNonlinearAlgorithm end
1918
abstract type AbstractBracketingAlgorithm <: AbstractNonlinearSolveAlgorithm end
2019
abstract type AbstractNewtonAlgorithm{CS,AD} <: AbstractNonlinearSolveAlgorithm end
21-
abstract type AbstractNonlinearSolver end
22-
abstract type AbstractImmutableNonlinearSolver <: AbstractNonlinearSolver end
20+
abstract type AbstractImmutableNonlinearSolver <: AbstractNonlinearSolveAlgorithm end
2321

2422
include("utils.jl")
2523
include("jacobian.jl")

0 commit comments

Comments
 (0)