We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bounded
[low, high]
(low, high)
It would be great to add an option to bounded so that it supports interval constraints with equality.
Current behaviour:
julia> bounded(0., 0., 1.) ERROR: ArgumentError: Value, 0.0, outside of specified bounds (0.0, 1.0). Stacktrace: [1] bounded(val::Float64, lower_bound::Float64, upper_bound::Float64) @ ParameterHandling ~/.julia/packages/ParameterHandling/QaqXk/src/parameters_scalar.jl:54
The text was updated successfully, but these errors were encountered:
This would be nice, but I'm not sure how you could achieve this in practice. Do you have any thoughts?
Sorry, something went wrong.
(The reason that we only support open intervals at the minute is because the bijections that we use map the bounds to -Inf and Inf )
Agree - I've just had a look at the code for how it's currently implemented, and it's tricky to see how we'd adapt it to this. I'll have a think.
No branches or pull requests
It would be great to add an option to
bounded
so that it supports interval constraints with equality.Current behaviour:
The text was updated successfully, but these errors were encountered: