From: Michael Stevens (mail_at_[hidden])
Date: 2005-05-03 07:40:38
On Monday 02 May 2005 22:38, Max Weinberg wrote:
> > Interesting you mention type conversion warning. uBLAS normally compile
> > warning free. What types are you storing?
> Here are some sample warnings I get. Most of them are of the first kind.
> The traits warning is from doing norm_1(u-v) on two double compressed
> vector_expression.hpp(803): warning C4267: 'return' : conversion from
> 'size_t' to 'boost::numeric::ublas::vector_binary<E1,E2,F>::size_type',
> possible loss of data
> vector_assign.hpp(82): warning C4267: 'argument' : conversion from 'size_t'
> to 'const unsigned int', possible loss of data
> traits.hpp(43): warning C4244: 'argument' : conversion from '__w64 int'
> to 'const int', possible loss of data
Are you storing 'size_t' as a ublas::vector element? i.e. is this cause by
a type ublas::vector<size_t> or similar?