Update of /cvsroot/boost/boost/boost/numeric/ublas/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19866/detail
Modified Files:
vector_assign.hpp
Log Message:
- updated error msg in vector_assign (debug build only) when the
structure check fails
Index: vector_assign.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/ublas/detail/vector_assign.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vector_assign.hpp 1 Jul 2005 20:09:01 -0000 1.7
+++ vector_assign.hpp 16 Mar 2007 21:29:16 -0000 1.8
@@ -340,8 +340,9 @@
it += size;
}
#if BOOST_UBLAS_TYPE_CHECK
- if (! disable_type_check<bool>::value)
- BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv),
external_logic ());
+ if (! disable_type_check<bool>::value)
+ BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv),
+ external_logic ("external logic or bad
condition of inputs"));
#endif
}
// Sparse case
@@ -367,8 +368,9 @@
++ ite;
}
#if BOOST_UBLAS_TYPE_CHECK
- if (! disable_type_check<bool>::value)
- BOOST_UBLAS_CHECK (detail::expression_type_check (v, cv),
external_logic ());
+ if (! disable_type_check<bool>::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 +436,8 @@
}
#if BOOST_UBLAS_TYPE_CHECK
if (! disable_type_check<bool>::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
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs