Try to avoid warning in Residue.cpp (although it is not a self-assignment but a -=

This commit is contained in:
Andreas Fabri 2018-12-04 10:38:16 +01:00
parent e294889e80
commit 25471b02b3
1 changed files with 1 additions and 1 deletions

View File

@ -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);