Repository navigation
Should setting a Parameters value raise or warn if it's outside bounds?
#337
henrikjacobsenfys
started this conversation in
Ideas
Replies: 1 comment
|
I don't believe all minimizers have ways to handle bounds. But we probably should raise warnings, for user-friendliness, we can just disable the warnings during fitting. :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This sets
a.valueto 0 with no warning:This sets
ato 0.This raises an error
I'd argue that it's better to at least warn users if they didn't achieve what they tried to do, or perhaps just raise.
I don't think the minimizers need to be abe to set values beyond the bounds, they should have their own ways to handle the bounds.
All reactions