diff --git a/include/boost/numeric/ublas/functional.hpp b/include/boost/numeric/ublas/functional.hpp index 55dc00ef..c95c6e9e 100644 --- a/include/boost/numeric/ublas/functional.hpp +++ b/include/boost/numeric/ublas/functional.hpp @@ -190,7 +190,11 @@ namespace boost { namespace numeric { namespace ublas { public scalar_binary_assign_functor { typedef typename scalar_binary_assign_functor::argument1_type argument1_type; typedef typename scalar_binary_assign_functor::argument2_type argument2_type; +#if BOOST_WORKAROUND( __IBMCPP__, <=600 ) + static const bool computed ; +#else static const bool computed = false ; +#endif static BOOST_UBLAS_INLINE void apply (argument1_type t1, argument2_type t2) { @@ -202,9 +206,11 @@ namespace boost { namespace numeric { namespace ublas { typedef scalar_assign other; }; }; - /*template + +#if BOOST_WORKAROUND( __IBMCPP__, <=600 ) + template const bool scalar_assign::computed = false; -*/ +#endif template struct scalar_plus_assign: