2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-27 17:32:09 +00:00

Workaround std::complex sparse proxy problem with operator==

svn path=/trunk/boost/boost/numeric/ublas/; revision=24475
This commit is contained in:
Michael Stevens
2004-08-14 20:01:34 +00:00
parent 55062caa0e
commit b775dff077

View File

@@ -1477,7 +1477,7 @@ namespace boost { namespace numeric { namespace ublas {
#if BOOST_UBLAS_TYPE_CHECK
I cit (it);
while (cit != it_end) {
BOOST_UBLAS_CHECK (*cit == BOOST_UBLAS_TYPENAME I::value_type (), internal_logic ());
BOOST_UBLAS_CHECK (BOOST_UBLAS_TYPENAME I::value_type (*cit) == BOOST_UBLAS_TYPENAME I::value_type (), internal_logic ());
++ cit;
}
#endif