Skip to content

Commit 6f4698d

Browse files
committed
allow multibody frame connectors to be unbalanced
1 parent ee4ad4d commit 6f4698d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/connectors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function connector_type(sys::AbstractSystem)
4747
if n_flow == 1 && length(sts) == 1
4848
return DomainConnector()
4949
end
50-
if n_flow != n_regular
50+
if n_flow != n_regular && !isframe(sys)
5151
@warn "$(nameof(sys)) contains $n_flow flow variables, yet $n_regular regular " *
5252
"(non-flow, non-stream, non-input, non-output) variables. " *
5353
"This could lead to imbalanced model that are difficult to debug. " *

0 commit comments

Comments
 (0)