We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expand_connections
1 parent 29eee6d commit b86cc52Copy full SHA for b86cc52
src/systems/connectors.jl
@@ -872,7 +872,8 @@ function expand_connections(sys::AbstractSystem; tol = 1e-10)
872
eqs = [equations(sys); ceqs; stream_eqs]
873
# substitute `instream(..)` expressions with their new values
874
for i in eachindex(eqs)
875
- eqs[i] = fixpoint_sub(eqs[i], instream_subs; maxiters = length(instream_subs))
+ eqs[i] = fixpoint_sub(
876
+ eqs[i], instream_subs; maxiters = max(length(instream_subs), 10))
877
end
878
# get the defaults for domain networks
879
d_defs = domain_defaults(sys, domain_csets)
0 commit comments