add preconditions on intv

This commit is contained in:
Sébastien Loriot 2022-02-04 13:54:11 +01:00
parent e82375ea22
commit 1d285cc27b
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ struct Algebraic_structure_traits<boost::multiprecision::detail::expression<T1,T
namespace Boost_MP_internal {
// here we know that `intv` contains int64 numbers such that their msb is std::numeric_limits<double>::digits-1
inline
Interval_nt<false> shift_positive_interval( const Interval_nt<false>& intv, const int e ) {
CGAL_assertion(intv.inf() > 0.0);