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:47:16 +01:00 committed by GitHub
parent 1348552194
commit 468b81f9f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
};