Skip to content

Commit

Permalink
Update Number_types/include/CGAL/CORE_Expr.h
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Glisse <[email protected]>
  • Loading branch information
afabri and mglisse authored Jan 26, 2024
1 parent 1348552 commit 468b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Number_types/include/CGAL/CORE_Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};

Expand Down

0 comments on commit 468b81f

Please sign in to comment.