From 468b81f9f29c26910b4fa8e7fb7571af4cd7dfb0 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 26 Jan 2024 08:47:16 +0100 Subject: [PATCH] Update Number_types/include/CGAL/CORE_Expr.h Co-authored-by: Marc Glisse --- Number_types/include/CGAL/CORE_Expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Number_types/include/CGAL/CORE_Expr.h b/Number_types/include/CGAL/CORE_Expr.h index 3ddb4c7f78f..f38681a08e2 100644 --- a/Number_types/include/CGAL/CORE_Expr.h +++ b/Number_types/include/CGAL/CORE_Expr.h @@ -135,7 +135,7 @@ template <> class Algebraic_structure_traits< CORE::Expr > if((inf == 1) && (sup == 1)){ return true; } - return x.cmp(Type::getOne()); + return x.cmp(Type::getOne()) == 0; } };