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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user