Skip to content

Commit 13bdba9

Browse files
fixup! fix: improve type-stability of connection infrastructure
1 parent e408e06 commit 13bdba9

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
@@ -252,7 +252,7 @@ function validate_causal_variables_connection(allvars::Vector{SymbolicT})
252252
end
253253
non_causal_variables = SymbolicT[]
254254
for x in allvars
255-
isinput(x) || isoutput(x) || continue
255+
(isinput(x) || isoutput(x)) && continue
256256
push!(non_causal_variables, x)
257257
end
258258
isempty(non_causal_variables) || throw(NonCausalVariableError(non_causal_variables))

0 commit comments

Comments
 (0)