2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-24 04:22:12 +00:00

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

This commit is contained in:
Michael Stevens
2004-08-14 20:01:34 +00:00
parent cb45163bb1
commit ec5f054829

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