Update of /cvsroot/boost/boost/boost/numeric/ublas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17187
Modified Files:
matrix_sparse.hpp
Log Message:
- fixed bug in compressed_matrix::(const_)iterator's decrement
Index: matrix_sparse.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/ublas/matrix_sparse.hpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- matrix_sparse.hpp 6 Dec 2006 09:34:00 -0000 1.83
+++ matrix_sparse.hpp 16 Mar 2007 21:23:13 -0000 1.84
@@ -3200,7 +3200,7 @@
if (rank_ == 1 && layout_type::fast_i ())
-- it_;
else {
- i_ = index1 () - 1;
+ --i_;
if (rank_ == 1)
*this = (*this) ().find1 (rank_, i_, j_, -1);
}
@@ -3352,7 +3352,7 @@
if (rank_ == 1 && layout_type::fast_i ())
-- it_;
else {
- i_ = index1 () - 1;
+ --i_;
if (rank_ == 1)
*this = (*this) ().find1 (rank_, i_, j_, -1);
}
@@ -3509,7 +3509,7 @@
if (rank_ == 1 && layout_type::fast_j ())
-- it_;
else {
- j_ = index2 () - 1;
+ --j_;
if (rank_ == 1)
*this = (*this) ().find2 (rank_, i_, j_, -1);
}
@@ -3661,7 +3661,7 @@
if (rank_ == 1 && layout_type::fast_j ())
-- it_;
else {
- j_ = index2 ();
+ --j_;
if (rank_ == 1)
*this = (*this) ().find2 (rank_, i_, j_, -1);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs