infiniteopt / InfiniteOpt.jl

An intuitive modeling interface for infinite-dimensional optimization problems.
https://infiniteopt.github.io/InfiniteOpt.jl/stable
MIT License
251 stars 17 forks source link

Fix SigFig Bug #344

Closed pulsipher closed 2 months ago

pulsipher commented 2 months ago

If domains are specified with more sigfigs than are used for the supports, then an out of bounds error will likely result. To fix this, domains are now rounded to the same amount of sigfigs as well. See https://discourse.julialang.org/t/infiniteopt-supports-violate-the-domain-bounds/115751.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.74%. Comparing base (dc1e303) to head (f3c4fc9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #344 +/- ## ======================================= Coverage 99.74% 99.74% ======================================= Files 36 36 Lines 6670 6679 +9 ======================================= + Hits 6653 6662 +9 Misses 17 17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.