Skip to content

Commit

Permalink
src/sage/rings/bernmm/bern_rat.cpp: Constness fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 13, 2024
1 parent dfad2de commit 49167d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/bernmm/bern_rat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct Item
*/
struct Item_cmp
{
bool operator()(const Item* x, const Item* y)
bool operator()(const Item* x, const Item* y) const
{
return mpz_cmp(x->modulus, y->modulus) < 0;
}
Expand Down

0 comments on commit 49167d7

Please sign in to comment.