Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2006-12-12 13:56:49


On Friday, 8. December 2006 11:58, Gunter Winkler wrote:
> 1) there is a bug in axpy_prod:
>
> other() is a static function and should be used as such.
>
> Index: operation.hpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/boost/numeric/ublas/operation.hpp,v
> retrieving revision 1.23
> diff -u -p -r1.23 operation.hpp
> --- operation.hpp 16 Jul 2006 13:13:01 -0000 1.23
> +++ operation.hpp 8 Dec 2006 09:02:41 -0000
> @@ -642,7 +642,7 @@ namespace boost { namespace numeric { na
> typename matrix_column<expression1_type>::const_iterator
> itc (mc.begin ()); typename matrix_column<expression1_type>::const_iterator
> itc_end (mc.end ()); while (itc != itc_end) {
> - if (triangular_restriction::functor_type ().other
> (itc.index (), it2.index2 ())) + if
> (triangular_restriction::other (itc.index (), it2.index2 ())) m (itc.index
> (), it2.index2 ()) += *it1 * *itc; ++ itc;
> }

Commited to CVS HEAD

Michael

-- 
___________________________________
Michael Stevens Systems Engineering
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
Navigation Systems, Estimation  and
                 Bayesian Filtering
    http://bayesclasses.sf.net
___________________________________