Skip to content

Commit 45fa653

Browse files
committed
Print return code
1 parent a0a5505 commit 45fa653

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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 <accounts@chrisrackauckas.com> and contributors"]
4-
version = "2.9.0"
4+
version = "2.9.1"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/solutions/solution_interface.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Base.setindex!(A::AbstractNoTimeSolution, v, I::Vararg{Int, N}) where {N} = (A.u
1414
Base.size(A::AbstractNoTimeSolution) = size(A.u)
1515

1616
function Base.show(io::IO, m::MIME"text/plain", A::AbstractNoTimeSolution)
17-
(print(io, "u: "); show(io, m, A.u))
17+
println(io, string("retcode: ", A.retcode))
18+
print(io, "u: ")
19+
show(io, m, A.u)
1820
end
1921

2022
# For augmenting system information to enable symbol based indexing of interpolated solutions

0 commit comments

Comments
 (0)