
Module: ppl/ppl Branch: sparse_matrices Commit: 119aeb2aa8f1ec272b892ea9b181793a3f138881 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=119aeb2aa8f1e...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Sun Dec 11 10:01:06 2011 +0100
Use computed reference (and avoid unused variable warning).
---
src/Linear_System.templates.hh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Linear_System.templates.hh b/src/Linear_System.templates.hh index 32c45c7..cf92afe 100644 --- a/src/Linear_System.templates.hh +++ b/src/Linear_System.templates.hh @@ -292,11 +292,11 @@ Linear_System<Row>::insert_pending(Linear_System& y, Recycle_Input) { // This loop must use an increasing index (instead of a decreasing one) to // preserve the row ordering. for (dimension_type i = 0; i < y.num_rows(); i++) - insert_pending(y.rows[i], Recycle_Input()); + x.insert_pending(y.rows[i], Recycle_Input());
y.clear();
- PPL_ASSERT(OK()); + PPL_ASSERT(x.OK()); }
template <typename Row>