Boost logo

Ublas :

From: Max Weinberg (max.weinberg_at_[hidden])
Date: 2005-05-02 15:38:27


> 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 vectors.

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