-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mutating parameter vector needs to call reset_aggregated_jumps! #386
Comments
We should probably document this more clearly though (i.e. we tell people in the FAQs to use |
The policy is to never mutate these directly though, and always provide functions for this. Not that there is anything that can be done to stop people, but in principle, the fields are considered internal? |
Well, see the Slack you were just posting on. |
Not necessarily. They are documented to an extent for the other problem types. |
I mean, I obviously saw it, that is how I got here. But it still feels like an obscure case. If we have documented that these fields exist and can be used (even for other systems) then I agree. But I figured that it was an advanced user that where poking around in internals rather than a normal case. |
|
Sorry, I should have shut up. |
Right now we only call
reset_aggregated_jumps!
when parameters are modified viaremake
orjprob[:psymb]
. I don't think mutatingjprob.prob.p
directly will correctly lead toMassActionJump
s getting updated.The text was updated successfully, but these errors were encountered: