
Module: ppl/ppl Branch: master Commit: ff7564a57ae554269f7f4101f99d59eadc4b6028 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=ff7564a57ae55...
Author: Marco Poletti poletti.marco@gmail.com Date: Mon Dec 27 09:20:53 2010 +0100
Dense_Row: remove useless debugging code from the OK() method.
---
src/Dense_Row.cc | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/Dense_Row.cc b/src/Dense_Row.cc index dddc104..40dcdcb 100644 --- a/src/Dense_Row.cc +++ b/src/Dense_Row.cc @@ -392,14 +392,6 @@ PPL::Dense_Row::OK() const { if (vec_ == 0) is_broken = true; } - - // TODO: Remove this. - // It was added to help finding unconstructed Coefficients with valgrind. - - Coefficient sum; - - for (dimension_type i = size(); i-- > 0; ) - sum += vec_[i];
return !is_broken; }