Update Number_types/include/CGAL/CORE_Expr.h

Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
This commit is contained in:
Andreas Fabri 2024-01-26 08:48:28 +01:00 committed by GitHub
parent 468b81f9f2
commit 60328a74a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ template <> class Algebraic_structure_traits< CORE::Expr >
if((inf > 1) || (sup < 1)){
return false;
}
if((inf == 1) && (sup == 1)){
if(inf == sup){
return true;
}
return x.cmp(Type::getOne()) == 0;