Index: detail/vector_assign.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/detail/vector_assign.hpp,v retrieving revision 1.7 diff -u -p -r1.7 vector_assign.hpp --- detail/vector_assign.hpp 1 Jul 2005 20:09:01 -0000 1.7 +++ detail/vector_assign.hpp 12 Mar 2007 08:23:34 -0000 @@ -340,8 +341,9 @@ namespace detail { it += size; } #if BOOST_UBLAS_TYPE_CHECK - if (! disable_type_check::value) - BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), external_logic ()); + if (! disable_type_check::value) + BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), + external_logic ("external logic or bad condition of inputs")); #endif } // Sparse case @@ -367,8 +369,9 @@ namespace detail { ++ ite; } #if BOOST_UBLAS_TYPE_CHECK - if (! disable_type_check::value) - BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), external_logic ()); + if (! disable_type_check::value) + BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), + external_logic ("external logic or bad condition of inputs")); #endif } // Sparse proxy or functional case @@ -434,7 +437,8 @@ namespace detail { } #if BOOST_UBLAS_TYPE_CHECK if (! disable_type_check::value) - BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), external_logic ()); + BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv), + external_logic ("external logic or bad condition of inputs")); #endif }