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 183e778 commit 1aa0002Copy full SHA for 1aa0002
src/systems/connectors.jl
@@ -862,7 +862,8 @@ function expand_connections(sys::AbstractSystem; tol = 1e-10)
862
eqs = [equations(sys); ceqs; stream_eqs]
863
# substitute `instream(..)` expressions with their new values
864
for i in eachindex(eqs)
865
- eqs[i] = fixpoint_sub(eqs[i], instream_subs; maxiters = length(instream_subs))
+ eqs[i] = fixpoint_sub(
866
+ eqs[i], instream_subs; maxiters = max(length(instream_subs), 10))
867
end
868
# get the defaults for domain networks
869
d_defs = domain_defaults(sys, domain_csets)
0 commit comments