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
In many cases, avoiding changing integrator state (mainly previous_value) during initialization is handled by checking for Component.is_initializing with the function body. Some cases are missed, due to changes after a Component is no longer detected as being initialized or due to deeper nesting of functions in Parameters, etc, leading to advanced integration state before any real execution has occurred. ex:
Components should be reset to a default state on initialization-like executions, from actual initialization or updates to default variable shape, for example. The manual checks in integrators are also not comprehensive, because there may be other kinds of integrator-like state in other types of Components.
The text was updated successfully, but these errors were encountered:
In many cases, avoiding changing integrator state (mainly
previous_value
) during initialization is handled by checking forComponent.is_initializing
with the function body. Some cases are missed, due to changes after a Component is no longer detected as being initialized or due to deeper nesting of functions in Parameters, etc, leading to advanced integration state before any real execution has occurred. ex:Components should be reset to a default state on initialization-like executions, from actual initialization or updates to default variable shape, for example. The manual checks in integrators are also not comprehensive, because there may be other kinds of integrator-like state in other types of Components.
The text was updated successfully, but these errors were encountered: