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
Macro objects have all the parameters as initial and step dependencies. This could lead to some circular initialization error when it shouldn't. For example, model below
:MACRO: MYMACRO(A, B)
mymacro = INTEG(A, B) ~~|
:END OF MACRO:
my_var = MYMACRO(var1, var2) ~~|
var1 = INITIAL(my_var) ~~|
var2 = 0 ~~|
This requires building first the macros and resolving the dependencies in the SectionBuilder level, so they can be properly accessed by the macro call builder.
Macro objects have all the parameters as
initial
andstep
dependencies. This could lead to some circular initialization error when it shouldn't. For example, model belowdependencies for
my_var
are translated aswhich leads to a circular initialization error, when they should be translated as
This requires building first the macros and resolving the dependencies in the
SectionBuilder
level, so they can be properly accessed by the macro call builder.FYI @mak63-dev
The text was updated successfully, but these errors were encountered: