[PPL-devel] [GIT] ppl/ppl(sparse_matrices): Unlimited_Sparse_Row_Over_CO_Tree: silence compiler warnings, in get2().
Marco Poletti
poletti.marco at gmail.com
Fri Apr 16 22:08:26 CEST 2010
Module: ppl/ppl
Branch: sparse_matrices
Commit: 11905a9ef2b31044566591e7ba0419575462ec6e
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=11905a9ef2b31044566591e7ba0419575462ec6e
Author: Marco Poletti <poletti.marco at gmail.com>
Date: Fri Apr 16 22:07:44 2010 +0200
Unlimited_Sparse_Row_Over_CO_Tree: silence compiler warnings, in get2().
---
src/Unlimited_Sparse_Row_Over_CO_Tree.inlines.hh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Unlimited_Sparse_Row_Over_CO_Tree.inlines.hh b/src/Unlimited_Sparse_Row_Over_CO_Tree.inlines.hh
index a2b8188..bfc4ff5 100644
--- a/src/Unlimited_Sparse_Row_Over_CO_Tree.inlines.hh
+++ b/src/Unlimited_Sparse_Row_Over_CO_Tree.inlines.hh
@@ -685,8 +685,8 @@ Unlimited_Sparse_Row_Over_CO_Tree::get2(const dimension_type c1,
const dimension_type c2,
const Coefficient*& p1,
const Coefficient*& p2) const {
- const_iterator itr1;
- const_iterator itr2;
+ const_iterator itr1 = begin();
+ const_iterator itr2 = begin();
find2(c1, c2, itr1, itr2);
More information about the PPL-devel
mailing list