[GIT] ppl/ppl(sparse_matrices): Fixes build: fixed typos.

Module: ppl/ppl Branch: sparse_matrices Commit: 78650f59b21b4c4ce6e7131368e1cb7292af7fa2 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=78650f59b21b4...
Author: Marco Poletti poletti.marco@gmail.com Date: Fri Mar 19 19:09:46 2010 +0100
Fixes build: fixed typos.
---
src/PIP_Tree.cc | 2 +- src/Unlimited_Sparse_Row.inlines.hh | 2 +- ...Unlimited_Sparse_Row_Std_Vector_Backend.defs.hh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/PIP_Tree.cc b/src/PIP_Tree.cc index 77831e4..2cd3578 100644 --- a/src/PIP_Tree.cc +++ b/src/PIP_Tree.cc @@ -3251,7 +3251,7 @@ PIP_Solution_Node::generate_cut(const dimension_type index, mod_assign(mod, (*j).second, den); if (mod != 0) { const dimension_type j_index = (*j).first; - itr1 = ctx1.find_create(j_index den); + itr1 = ctx1.find_create(j_index, den); (*itr1).second -= mod; itr2 = ctx2.find_create(j_index, (*itr1).second); neg_assign((*itr2).second); diff --git a/src/Unlimited_Sparse_Row.inlines.hh b/src/Unlimited_Sparse_Row.inlines.hh index 150b048..08a09b1 100644 --- a/src/Unlimited_Sparse_Row.inlines.hh +++ b/src/Unlimited_Sparse_Row.inlines.hh @@ -353,7 +353,7 @@ Unlimited_Sparse_Row::find(const dimension_type k, const_iterator itr1) const {
inline Unlimited_Sparse_Row::const_iterator Unlimited_Sparse_Row -::lower_bound(const dimension_type k const_iterator itr1) const { +::lower_bound(const dimension_type k, const_iterator itr1) const { return data.lower_bound(k, itr1); }
diff --git a/src/Unlimited_Sparse_Row_Std_Vector_Backend.defs.hh b/src/Unlimited_Sparse_Row_Std_Vector_Backend.defs.hh index b1f0937..a479672 100644 --- a/src/Unlimited_Sparse_Row_Std_Vector_Backend.defs.hh +++ b/src/Unlimited_Sparse_Row_Std_Vector_Backend.defs.hh @@ -91,7 +91,7 @@ public: iterator lower_bound(const dimension_type c, iterator itr);
//! Looks for an element with key c, assuming it is in [itr,end()) . - const_iterator find(const dimension_type c const_iterator itr) const; + const_iterator find(const dimension_type c, const_iterator itr) const; //! Lower bound of key c, assuming it is in [itr,end()) . const_iterator lower_bound(const dimension_type c, const_iterator itr) const;
participants (1)
-
Marco Poletti