Skip to content

Commit fa769d7

Browse files
remove the warnings
1 parent d2c5898 commit fa769d7

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SciMLBase"
22
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
33
authors = ["Chris Rackauckas <[email protected]> and contributors"]
4-
version = "1.1.0"
4+
version = "1.1.1"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/problems/problem_traits.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ isinplace(prob::AbstractLinearProblem{bType,iip}) where {bType,iip} = iip
1515
isinplace(prob::AbstractNonlinearProblem{uType,iip}) where {uType,iip} = iip
1616
isinplace(prob::AbstractQuadratureProblem{iip}) where {iip} = iip
1717
isinplace(prob::AbstractODEProblem{uType,tType,iip}) where {uType,tType,iip} = iip
18-
isinplace(prob::AbstractSteadyStateProblem{uType,iip}) where {uType,iip} = iip
1918
isinplace(prob::AbstractRODEProblem{uType,tType,iip,ND}) where {uType,tType,iip,ND} = iip
2019
isinplace(prob::AbstractDDEProblem{uType,tType,lType,iip}) where {uType,tType,lType,iip} = iip
2120
isinplace(prob::AbstractDAEProblem{uType,duType,tType,iip}) where {uType,duType,tType,iip} = iip

src/problems/problem_utils.jl

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ function Base.show(io::IO, A::AbstractLinearProblem)
3535
show(io, A.b)
3636
end
3737

38-
Base.summary(prob::AbstractNonlinearProblem) = string(
38+
Base.summary(prob::AbstractNonlinearProblem{uType,iip}) where {uType,iip} = string(
3939
TYPE_COLOR, nameof(typeof(prob)),
40+
NO_COLOR, " with uType ",
41+
TYPE_COLOR, uType,
4042
NO_COLOR, ". In-place: ",
4143
TYPE_COLOR, isinplace(prob),
4244
NO_COLOR)
@@ -66,7 +68,6 @@ function Base.show(io::IO, A::AbstractQuadratureProblem)
6668
println(io,summary(A))
6769
end
6870

69-
Base.summary(prob::AbstractSteadyStateProblem{uType,iip}) where {uType,iip} = string(nameof(typeof(prob))," with uType ",uType)
7071
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))
7172
function Base.show(io::IO, A::DEProblem)
7273
println(io,summary(A))
@@ -93,11 +94,6 @@ function Base.show(io::IO, A::AbstractDAEProblem)
9394
print(io,"du0: ")
9495
show(io, A.du0)
9596
end
96-
function Base.show(io::IO, A::AbstractSteadyStateProblem)
97-
println(io,summary(A))
98-
print(io,"u0: ")
99-
show(io, A.u0)
100-
end
10197

10298
Base.summary(prob::AbstractEnsembleProblem) = string(
10399
nameof(typeof(prob))," with problem ",nameof(typeof(prob.prob)))

0 commit comments

Comments
 (0)