You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessing a parameter or variable whos scope was defined with ParentScope() errors.
using ModelingToolkit, Test
@parameters t a
p = [
ParentScope(a)
]
level0 =ODESystem(Equation[], t, [], p; name =:level0)
level1 =ODESystem(Equation[], t, [], []; name =:level1) ∘ level0
ModelingToolkit.getname(parameters(level1)[1]) # a
level1.a # this errors, claiming a is not defined