Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unhandled numpy.round overflow return value in core/util.py:bound…
…_range(...) (#5095) * Core/Util: Fix unhandled np.round overflow return The function numpy.round return for the input np.float64(2.6558061446181644e+295) the output numpy.inf. This should lead to density = full_precision_density. * Core/Util: Supress numpy.round overflow error The function numpy.round produces for the input numpy.float64(2.6558061446181644e+295) an FloatingPointError with the message "overflow encountered in multiply". This error should be suppressed because its an internal computation by holoview. * Use context manager Co-authored-by: [email protected] <[email protected]> Co-authored-by: Philipp Rudiger <[email protected]>
- Loading branch information