id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4410,Sparse/Packed matrix assignment needs type conversion,Marco Guazzone ,David Bellot,"In file ''boost/detail/matrix_assign.hpp'' there are two possible source of type-conversion error interesting both ''sparse'' and ''packed'' matrices. Let: {{{#!c++ typedef typename M::value_type value_type; typedef F functor_type; }}} Then: 1. ''Comparison of an `E::value_type` with an `M::value_type`'' {{{#!c++ if (v != value_type/*zero*/()) // where v is of type E::value_type }}} E.g., `E::value_type` is `std::complex` and `M::value_type` is `std::complex`. 2. ''Assignment of an `M::value_type` to an `E::value_type`'' {{{#!c++ functor_type::apply(*it, value_type/*zero*/()); }}} E.g., `E::value_type` is `float` and `M::value_type` is `std::complex`. ",Patches,closed,To Be Determined,uBLAS,Boost Development Trunk,Problem,worksforme,,