Index: matrix.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/matrix.hpp,v retrieving revision 1.61 diff -u -r1.61 matrix.hpp --- matrix.hpp 14 Jul 2005 12:56:02 -0000 1.61 +++ matrix.hpp 4 Aug 2005 19:03:36 -0000 @@ -185,7 +185,7 @@ template // Container assignment without temporary BOOST_UBLAS_INLINE matrix &operator = (const matrix_container &m) { - resize (m.size1 (), m.size2 ()); + resize (((C const&)m).size1 (), ((C const&)m).size2 ()); assign (m); return *this; } Index: vector.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/vector.hpp,v retrieving revision 1.64 diff -u -r1.64 vector.hpp --- vector.hpp 14 Jul 2005 12:56:03 -0000 1.64 +++ vector.hpp 4 Aug 2005 19:03:36 -0000 @@ -153,7 +153,7 @@ template // Container assignment without temporary BOOST_UBLAS_INLINE vector &operator = (const vector_container &v) { - resize (v.size (), false); + resize (((C const&)v).size (), false); assign (v); return *this; }