From 01f89b0ccc128c359a9d8d5f2b5a8ecbaa64c76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 15 Mar 2024 11:37:18 +0100 Subject: [PATCH] make call no longer ambiguious --- CGAL_Core/include/CGAL/CORE/Expr.h | 2 +- Number_types/include/CGAL/CORE_BigFloat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CGAL_Core/include/CGAL/CORE/Expr.h b/CGAL_Core/include/CGAL/CORE/Expr.h index 0c910979286..c10fb5fc560 100644 --- a/CGAL_Core/include/CGAL/CORE/Expr.h +++ b/CGAL_Core/include/CGAL/CORE/Expr.h @@ -93,7 +93,7 @@ public: Expr(const BigRat& R) : RCExpr(new ConstRealRep(Real(R))) {} /// constructor for BigRat expression template ::value> > - explicit Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {} + Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {} /// constructor for BigFloat Expr(const BigFloat& F) : RCExpr(new ConstRealRep(Real(F))) {} diff --git a/Number_types/include/CGAL/CORE_BigFloat.h b/Number_types/include/CGAL/CORE_BigFloat.h index 11934a244b9..81e9fcbaca6 100644 --- a/Number_types/include/CGAL/CORE_BigFloat.h +++ b/Number_types/include/CGAL/CORE_BigFloat.h @@ -326,7 +326,7 @@ public: 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); } };