Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2006-10-07 14:21:50


On Tuesday, 29. August 2006 19:09, Jerry Swan wrote:
> >This is very difficult to find out without knwoing what you try to do.
> >Please send a complete minimal example program that demonstrates this
> > error.
>

I have commited a fix to CVS HEAD. Can you try it out? With Johns patch to the
abs sqrt handing the handling of intervals is much easier.

Your test code need a minor change, scalar_traits defines type_abs and
type_sqrt so your code should read.

scalar_type abs_a00 = boost::numeric::ublas::scalar_traits< scalar_type
>::type_abs( a( 0, 0 ) );
scalar_type sqrt_a00 = boost::numeric::ublas::scalar_traits< scalar_type
>::type_sqrt( a( 0, 0 ) );

Thanks,
        Michael

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