2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-20 03:02:13 +00:00

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

[SVN r24475]
This commit is contained in:
Michael Stevens
2004-08-14 20:01:34 +00:00
parent 3c57cc1344
commit cb1877a0ad

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