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
1348552194
commit
468b81f9f2
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue