Skip to content

Commit 26c1f9f

Browse files
committed
fix printing of 1D systems
1 parent db1a3d8 commit 26c1f9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dynamicalsystem/dynamicalsystem.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ function printlimited(io, x; Δx = 0, Δy = 0)
267267
Base.print(io, "["*s*"]")
268268
end
269269

270+
printlimited(io, x::Number; Δx = 0, Δy = 0) = print(io, x)
271+
270272
function Base.show(io::IO, ds::DS)
271273
ps = 14
272274
text = summary(ds)

0 commit comments

Comments
 (0)