Skip to content

Commit 5f4669c

Browse files
remove redundant NonlinearSolution
1 parent 39db05d commit 5f4669c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/solutions/basic_solutions.jl

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,6 @@ function build_solution(prob::AbstractLinearProblem,
1919
LinearSolution{T,N,typeof(u),typeof(resid),typeof(prob),typeof(alg)}(u,resid,prob,alg,retcode)
2020
end
2121

22-
struct NonlinearSolution{T,N,uType,R,P,A} <: AbstractNonlinearSolution{T,N}
23-
u::uType
24-
resid::R
25-
prob::P
26-
alg::A
27-
retcode::Symbol
28-
end
29-
30-
function build_solution(prob::AbstractNonlinearProblem,
31-
alg,u,resid;calculate_error = true,
32-
retcode = :Default, kwargs...)
33-
34-
T = eltype(eltype(u))
35-
N = length((size(u)...,))
36-
37-
NonlinearSolution{T,N,typeof(u),typeof(resid),typeof(prob),typeof(alg)}(u,resid,prob,alg,retcode)
38-
end
39-
4022
struct QuadratureSolution{T,N,uType,R,P,A,C} <: AbstractQuadratureSolution{T,N}
4123
u::uType
4224
resid::R

0 commit comments

Comments
 (0)