Index: matrix_sparse.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/matrix_sparse.hpp,v retrieving revision 1.82 diff -u -p -r1.82 matrix_sparse.hpp --- matrix_sparse.hpp 18 May 2006 16:44:57 -0000 1.82 +++ matrix_sparse.hpp 15 Feb 2007 13:01:22 -0000 @@ -3200,7 +3357,7 @@ namespace boost { namespace numeric { na 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 +3509,7 @@ namespace boost { namespace numeric { na 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 +3666,7 @@ namespace boost { namespace numeric { na 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 +3818,7 @@ namespace boost { namespace numeric { na if (rank_ == 1 && layout_type::fast_j ()) -- it_; else { - j_ = index2 (); + --j_; if (rank_ == 1) *this = (*this) ().find2 (rank_, i_, j_, -1); }