2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-21 15:32:12 +00:00

- fixed unit_vector::find()

[SVN r37206]
This commit is contained in:
Gunter Winkler
2007-03-16 21:26:39 +00:00
parent 2adb3b8127
commit 7deace95ed

View File

@@ -867,7 +867,7 @@ namespace boost { namespace numeric { namespace ublas {
// Element lookup
BOOST_UBLAS_INLINE
const_iterator find (size_type i) const {
return const_iterator (*this, i == index_);
return const_iterator (*this, i <= index_);
}
class const_iterator: