Skip to content

Commit a2100fc

Browse files
authored
clarify connector warning (#1603)
1 parent bb3942e commit a2100fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/systems/connectors.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ function connector_type(sys::AbstractSystem)
5151
(n_stream > 0 && n_flow > 1) &&
5252
error("There are multiple flow variables in $(nameof(sys))!")
5353
if n_flow != n_regular
54-
@warn "$(nameof(sys)) contains $n_flow variables, yet $n_regular regular " *
55-
"(non-flow, non-stream, non-input, non-output) variables." *
56-
"This could lead to imbalanced model that are difficult to debug." *
54+
@warn "$(nameof(sys)) contains $n_flow flow variables, yet $n_regular regular " *
55+
"(non-flow, non-stream, non-input, non-output) variables. " *
56+
"This could lead to imbalanced model that are difficult to debug. " *
5757
"Consider marking some of the regular variables as input/output variables."
5858
end
5959
n_stream > 0 ? StreamConnector() : RegularConnector()

0 commit comments

Comments
 (0)