[GIT] ppl/ppl(master): Variable hiding avoided.

Module: ppl/ppl Branch: master Commit: d8126fc4ec706e7c25100b1f3c51d0decaff7c55 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=d8126fc4ec706...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Sat Apr 10 18:23:01 2010 +0200
Variable hiding avoided.
---
src/Polyhedron_nonpublic.cc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Polyhedron_nonpublic.cc b/src/Polyhedron_nonpublic.cc index 20049a6..b3ae9ef 100644 --- a/src/Polyhedron_nonpublic.cc +++ b/src/Polyhedron_nonpublic.cc @@ -2184,9 +2184,9 @@ PPL::Polyhedron::drop_some_non_integer_points(const Variables_Set* pvars, }
// Divide the inhomogeneous coefficients by the GCD. - for (dimension_type i = space_dim+1; --i > 0; ) { - Coefficient& c_i = c[i]; - exact_div_assign(c_i, c_i, gcd); + for (dimension_type k = space_dim+1; --k > 0; ) { + Coefficient& c_k = c[k]; + exact_div_assign(c_k, c_k, gcd); } Coefficient& c_0 = c[0]; const int c_0_sign = sgn(c_0);
participants (1)
-
Roberto Bagnara