Skip to content

Commit

Permalink
Merge pull request #1190 from JuliaSymbolics/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Fix connection printing with tuples
  • Loading branch information
ChrisRackauckas authored Jul 14, 2024
2 parents cbe75ba + a198318 commit 46a6d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end

function Base.show(io::IO, c::Connection)
print(io, "connect(")
if c.systems isa AbstractArray
if c.systems isa AbstractArray || c.systems isa Tuple
n = length(c.systems)
for (i, s) in enumerate(c.systems)
str = join(split(string(nameof(s)), NAMESPACE_SEPARATOR), '.')
Expand Down

0 comments on commit 46a6d06

Please sign in to comment.