Boost logo

Ublas :

From: Leopoldo Peralta (lperalta_at_[hidden])
Date: 2007-07-18 13:38:05

Hi Marat,

Thanks for your help. I will try it and will let you know.

Leopoldo Peralta

-----Mensaje original-----
De: ublas-bounces_at_[hidden] [mailto:ublas-bounces_at_[hidden]] En
nombre de Marat Khalili
Enviado el: Wednesday, July 18, 2007 11:59 AM
Para: ublas_at_[hidden]
Asunto: Re: [ublas] bug with boost::rational types


I looked at the problem since it is a corollary of one I'm experiencing
(see "mapped_vector<user-defined class> BOOST_UBLAS_TYPE_CHECK problems"
below). In short, boost::numeric::ublas::type_traits only knows about
float, double, long double, std::complex, and boost::numeric::interval,
and searches all functions in the std namespace by default instead of
using Koenig lookup.

I've attached a quick fix, you can give it a try. Disclaimer: I'm not a
uBLAS programmer.

With Best Regards,