Update of /cvsroot/boost/boost/boost/numeric/ublas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18892

Modified Files:
        vector.hpp 
Log Message:
- fixed unit_vector::find()


Index: vector.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/ublas/vector.hpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- vector.hpp  6 Dec 2006 09:34:01 -0000       1.74
+++ vector.hpp  16 Mar 2007 21:26:39 -0000      1.75
@@ -867,7 +867,7 @@
         // 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:


-------------------------------------------------------------------------
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

Reply via email to