Skip to content

Commit efad630

Browse files
committed
Format
1 parent 668bffa commit efad630

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/systems/abstractsystem.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,8 @@ function n_expanded_connection_equations(sys::AbstractSystem)
18911891
nextras = n_outer_stream_variables + length(ceqs)
18921892
end
18931893

1894-
function Base.show(io::IO, mime::MIME"text/plain", sys::AbstractSystem; hint = true, bold = true)
1894+
function Base.show(
1895+
io::IO, mime::MIME"text/plain", sys::AbstractSystem; hint = true, bold = true)
18951896
limit = get(io, :limit, false) # if output should be limited,
18961897
rows = first(displaysize(io)) ÷ 5 # then allocate ≈1/5 of display height to each list
18971898

@@ -1930,7 +1931,8 @@ function Base.show(io::IO, mime::MIME"text/plain", sys::AbstractSystem; hint = t
19301931
ntot = neqs + next
19311932
ntot > 0 && printstyled(io, "\nEquations ($ntot):"; bold)
19321933
neqs > 0 && print(io, "\n $neqs standard", hint ? ": see equations(sys)" : "")
1933-
next > 0 && print(io, "\n $next connecting", hint ? ": see equations(expand_connections(sys))" : "")
1934+
next > 0 && print(io, "\n $next connecting",
1935+
hint ? ": see equations(expand_connections(sys))" : "")
19341936
#Base.print_matrix(io, eqs) # usually too long and not useful to print all equations
19351937
end
19361938

src/systems/diffeqs/odesystem.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,8 @@ end
707707

708708
function Base.show(io::IO, mime::MIME"text/plain", sys::ODESystem; hint = true, bold = true)
709709
# Print general AbstractSystem information
710-
invoke(Base.show, Tuple{typeof(io), typeof(mime), AbstractSystem}, io, mime, sys; hint, bold)
710+
invoke(Base.show, Tuple{typeof(io), typeof(mime), AbstractSystem},
711+
io, mime, sys; hint, bold)
711712

712713
# Print initialization equations (unique to ODESystems)
713714
nini = length(initialization_equations(sys))

0 commit comments

Comments
 (0)