From 9de2a6c985f10f25ee79293946d92e2afc19fbce 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 path=/trunk/boost/boost/numeric/ublas/; revision=24475 --- 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