Skip to content

Commit 3133177

Browse files
fix: fix printing of AbstractSystem with subsystems
1 parent 083a639 commit 3133177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/abstractsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ function Base.show(
19191919
nrows > 0 && hint && print(io, " see hierarchy($name)")
19201920
for i in 1:nrows
19211921
sub = subs[i]
1922-
name = String(nameof(sub))
1922+
local name = String(nameof(sub))
19231923
print(io, "\n ", name)
19241924
desc = description(sub)
19251925
if !isempty(desc)

0 commit comments

Comments
 (0)