Skip to content

Commit e0f3d93

Browse files
committed
fix discrete printing
1 parent 766354b commit e0f3d93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/dynamicalsystem/discrete.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,10 @@ end
273273
# Pretty-Printing #
274274
#####################################################################################
275275
Base.summary(ds::MDI) =
276-
"Discrete integrator (e.o.m.: $(nameof(ds.f)))"
276+
"Discrete integrator (e.o.m.: $(eomstring(ds.f)))"
277277
Base.summary(ds::MDI{true, S}) where {S<:Vector{<:AbstractArray}} =
278-
"Discrete parallel integrator with $(length(ds.u)) states"
278+
"Discrete parallel integrator with $(length(ds.u)) states "*
279+
"(e.o.m.: $(eomstring(ds.f)))"
279280

280281
function Base.show(io::IO, ds::MDI)
281282
ps = 3
@@ -300,7 +301,7 @@ end
300301

301302
Base.summary(ds::TDI) =
302303
"Discrete tangent-space integrator
303-
(e.o.m.: $(nameof(ds.f)), jacobian: $(nameof(ds.jacobian)))"
304+
(e.o.m.: $(eomstring(ds.f)), jacobian: $(eomstring(ds.jacobian)))"
304305

305306
function Base.show(io::IO, ds::TDI)
306307
ps = 3

0 commit comments

Comments
 (0)