From cb1877a0adfb060b86cf855c8b9d418f05d373f7 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Sat, 14 Aug 2004 20:01:34 +0000 Subject: [PATCH] Workaround std::complex sparse proxy problem with operator== [SVN r24475] --- include/boost/numeric/ublas/traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/numeric/ublas/traits.hpp b/include/boost/numeric/ublas/traits.hpp index f0d9566a..32f809b9 100644 --- a/include/boost/numeric/ublas/traits.hpp +++ b/include/boost/numeric/ublas/traits.hpp @@ -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