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
{{ message }}
Repository navigation
Make ParameterizedFunction copy parameter references #960
In the constructor for a ParameterizedFunction, all of the values at the current point in time are copied. Unfortunately, this doesn't copy over references.
Is your feature request related to a problem? Please describe.
It's frustrating that I need to add back in all the different previous parameters back.
Describe the solution you'd like
I'd like to copy over references, or add a flag to copy them.
Sorry you never got a reply here or on your PR. In general I think this breaks the contract of an instance. Using refs like this would link one instance to all other instances, which seems unexpected. Adding a flag may be okay. Wouldn't blame you if you've forgotten or no longer care but can you describe the motivating use case?
Activity
Dsolnik commentedon Aug 14, 2024
#961
philippjfr commentedon Apr 30, 2026
Sorry you never got a reply here or on your PR. In general I think this breaks the contract of an instance. Using refs like this would link one instance to all other instances, which seems unexpected. Adding a flag may be okay. Wouldn't blame you if you've forgotten or no longer care but can you describe the motivating use case?