[PPL-devel] [GIT] ppl/ppl(master): CO_Tree, Sparse_Row, Dense_Row: access the index and the value of element pointed to by an iterator using itr .index() and *itr instead of itr->first and itr->second.
Marco Poletti
poletti.marco at gmail.com
Fri Sep 3 20:29:23 CEST 2010
Module: ppl/ppl
Branch: master
Commit: 7d4b9abcd12085a554123d1dda6efc7d09037896
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=7d4b9abcd12085a554123d1dda6efc7d09037896
Author: Marco Poletti <poletti.marco at gmail.com>
Date: Fri Sep 3 20:29:20 2010 +0200
CO_Tree, Sparse_Row, Dense_Row: access the index and the value of element pointed to by an iterator using itr.index() and *itr instead of itr->first and itr->second.
---
src/CO_Tree.cc | 100 ++++++++--------
src/CO_Tree.defs.hh | 204 +++++-----------------------------
src/CO_Tree.inlines.hh | 161 +++++++--------------------
src/Dense_Row.defs.hh | 80 +++++---------
src/Dense_Row.inlines.hh | 73 +++----------
src/MIP_Problem.cc | 42 ++++----
src/PIP_Problem.cc | 4 +-
src/PIP_Tree.cc | 222 ++++++++++++++++++------------------
src/Sparse_Row.cc | 32 +++---
src/Sparse_Row.inlines.hh | 30 +++---
src/Sparse_Row.templates.hh | 56 +++++-----
tests/CO_Tree/cotree1.cc | 52 +++++-----
tests/Sparse_Matrix/sparserow1.cc | 40 ++++----
13 files changed, 403 insertions(+), 693 deletions(-)
Diff: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=7d4b9abcd12085a554123d1dda6efc7d09037896
More information about the PPL-devel
mailing list