diff --git a/Project.toml b/Project.toml index c53a75bbf..142c5a0ac 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SciMLBase" uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462" authors = ["Chris Rackauckas and contributors"] -version = "1.1.0" +version = "1.1.1" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/problems/problem_traits.jl b/src/problems/problem_traits.jl index 75e648421..0b5f5ac6c 100644 --- a/src/problems/problem_traits.jl +++ b/src/problems/problem_traits.jl @@ -15,7 +15,6 @@ isinplace(prob::AbstractLinearProblem{bType,iip}) where {bType,iip} = iip isinplace(prob::AbstractNonlinearProblem{uType,iip}) where {uType,iip} = iip isinplace(prob::AbstractQuadratureProblem{iip}) where {iip} = iip isinplace(prob::AbstractODEProblem{uType,tType,iip}) where {uType,tType,iip} = iip -isinplace(prob::AbstractSteadyStateProblem{uType,iip}) where {uType,iip} = iip isinplace(prob::AbstractRODEProblem{uType,tType,iip,ND}) where {uType,tType,iip,ND} = iip isinplace(prob::AbstractDDEProblem{uType,tType,lType,iip}) where {uType,tType,lType,iip} = iip isinplace(prob::AbstractDAEProblem{uType,duType,tType,iip}) where {uType,duType,tType,iip} = iip diff --git a/src/problems/problem_utils.jl b/src/problems/problem_utils.jl index e5a9f8d01..1b0d9c4ff 100644 --- a/src/problems/problem_utils.jl +++ b/src/problems/problem_utils.jl @@ -35,8 +35,10 @@ function Base.show(io::IO, A::AbstractLinearProblem) show(io, A.b) end -Base.summary(prob::AbstractNonlinearProblem) = string( +Base.summary(prob::AbstractNonlinearProblem{uType,iip}) where {uType,iip} = string( TYPE_COLOR, nameof(typeof(prob)), + NO_COLOR, " with uType ", + TYPE_COLOR, uType, NO_COLOR, ". In-place: ", TYPE_COLOR, isinplace(prob), NO_COLOR) @@ -66,7 +68,6 @@ function Base.show(io::IO, A::AbstractQuadratureProblem) println(io,summary(A)) end -Base.summary(prob::AbstractSteadyStateProblem{uType,iip}) where {uType,iip} = string(nameof(typeof(prob))," with uType ",uType) Base.summary(prob::AbstractNoiseProblem) = string(nameof(typeof(prob))," with WType ",typeof(prob.noise.W[1])," and tType ",typeof(prob.tspan[1]),". In-place: ",isinplace(prob)) function Base.show(io::IO, A::DEProblem) println(io,summary(A)) @@ -93,11 +94,6 @@ function Base.show(io::IO, A::AbstractDAEProblem) print(io,"du0: ") show(io, A.du0) end -function Base.show(io::IO, A::AbstractSteadyStateProblem) - println(io,summary(A)) - print(io,"u0: ") - show(io, A.u0) -end Base.summary(prob::AbstractEnsembleProblem) = string( nameof(typeof(prob))," with problem ",nameof(typeof(prob.prob)))