Skip to content

Commit 9923f47

Browse files
authored
Update src/systems/abstractsystem.jl
1 parent baf0fed commit 9923f47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/systems/abstractsystem.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,9 @@ end
10211021
return latexify(equations(sys))
10221022
end
10231023

1024-
Base.show(io::IO, ::MIME"text/latex", x::AbstractSystem) = print(io, "\$\$ "*latexify(x)*" \$\$")
1024+
function Base.show(io::IO, ::MIME"text/latex", x::AbstractSystem)
1025+
print(io, "\$\$ " * latexify(x) * " \$\$")
1026+
end
10251027

10261028
struct InvalidSystemException <: Exception
10271029
msg::String

0 commit comments

Comments
 (0)