Skip to content

Commit 5a80fd0

Browse files
Merge pull request #3603 from blegat/patch-1
Add show method without MIME type for ODESystem
2 parents a44250b + 2bc8879 commit 5a80fd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/systems/abstractsystem.jl

+2
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,8 @@ function n_expanded_connection_equations(sys::AbstractSystem)
21162116
nextras = n_outer_stream_variables + length(ceqs) + n_variable_connect_eqs
21172117
end
21182118

2119+
Base.show(io::IO, sys::AbstractSystem; kws...) = show(io, MIME"text/plain"(), sys; kws...)
2120+
21192121
function Base.show(
21202122
io::IO, mime::MIME"text/plain", sys::AbstractSystem; hint = true, bold = true)
21212123
limit = get(io, :limit, false) # if output should be limited,

0 commit comments

Comments
 (0)