From 290f79777ef676fcc7484dadf3a61cc20ba5f9f1 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 22 Feb 2024 08:59:56 +0000 Subject: [PATCH] Keep only Is_zero --- Number_types/include/CGAL/CORE_Expr.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Number_types/include/CGAL/CORE_Expr.h b/Number_types/include/CGAL/CORE_Expr.h index e0f72a22326..efeb5ad9363 100644 --- a/Number_types/include/CGAL/CORE_Expr.h +++ b/Number_types/include/CGAL/CORE_Expr.h @@ -123,22 +123,6 @@ template <> class Algebraic_structure_traits< CORE::Expr > } }; - class Is_one - : public CGAL::cpp98::unary_function< Type, bool > { - public: - bool operator()( const Type& x ) const { - double inf, sup; - x.doubleInterval(inf,sup); - if((inf > 1) || (sup < 1)){ - return false; - } - if(inf == sup){ - return true; - } - return x.cmp(Type::getOne()) == 0; - } - }; - }; template <> class Real_embeddable_traits< CORE::Expr >