From a1983183804d292b7efd6a12b80fed41a5e6536c Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 14 Jul 2024 12:48:34 +0200 Subject: [PATCH] Fix connection printing with tuples --- src/equations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations.jl b/src/equations.jl index 4296d47ef..4f7f300b5 100644 --- a/src/equations.jl +++ b/src/equations.jl @@ -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), '.')