mirror of https://github.com/CGAL/cgal
Try to avoid warning in Residue.cpp (although it is not a self-assignment but a -=
This commit is contained in:
parent
e294889e80
commit
25471b02b3
|
|
@ -102,7 +102,7 @@ int main()
|
||||||
|
|
||||||
assert(mod_x == CGAL::modular_image(int_x));
|
assert(mod_x == CGAL::modular_image(int_x));
|
||||||
int_x -= int_x; int_x = CGAL::mod(int_x, prime);
|
int_x -= int_x; int_x = CGAL::mod(int_x, prime);
|
||||||
mod_x -= mod_x;
|
mod_x -= (CGAL::Residue&)mod_x;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CGAL::Residue::set_current_prime(67111043);
|
CGAL::Residue::set_current_prime(67111043);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue