mirror of https://github.com/CGAL/cgal
Update Number_types/include/CGAL/CORE_Expr.h
Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
This commit is contained in:
parent
468b81f9f2
commit
60328a74a7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue