Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-03-12 04:05:30


On Monday 12 March 2007 04:05, Hugo Duncan wrote:
> but these give runtime logic errors:
> v= -ublas::unit_vector<double>(3,1);
> v= -ublas::unit_vector<double>(3,2);

modify line 890 in vector.hpp to:

        // Element lookup
        BOOST_UBLAS_INLINE
        const_iterator find (size_type i) const {
            return const_iterator (*this, i <= index_);
        }

mfg
Gunter