Skip to content

Commit

Permalink
make call no longer ambiguious
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Mar 15, 2024
1 parent 3b1dd44 commit 01f89b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CGAL_Core/include/CGAL/CORE/Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Expr : public RCExpr {
Expr(const BigRat& R) : RCExpr(new ConstRealRep(Real(R))) {}
/// constructor for <tt>BigRat expression</tt>
template <class BigRatExpr, class = std::enable_if_t< boost::multiprecision::is_number_expression<BigRatExpr>::value> >
explicit Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {}
Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {}

/// constructor for <tt>BigFloat</tt>
Expr(const BigFloat& F) : RCExpr(new ConstRealRep(Real(F))) {}
Expand Down
2 changes: 1 addition & 1 deletion Number_types/include/CGAL/CORE_BigFloat.h
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ template<> class Bigfloat_interval_traits<CORE::BigFloat>
NT w = Width()(x);
w /= ::CORE::BigFloat(x.m()-x.err(),0,x.exp());
w = w.abs();
return -(CORE::ceilLg(w.m()+w.err())+w.exp()*CORE::CHUNK_BIT);
return -(CORE::ceilLg(CORE::BigInt(w.m()+w.err()))+w.exp()*CORE::CHUNK_BIT);
}
};

Expand Down

0 comments on commit 01f89b0

Please sign in to comment.