diff --git a/include/boost/numeric/ublas/functional.hpp b/include/boost/numeric/ublas/functional.hpp index b8727e80..a4fba292 100644 --- a/include/boost/numeric/ublas/functional.hpp +++ b/include/boost/numeric/ublas/functional.hpp @@ -171,6 +171,7 @@ namespace boost { namespace numeric { namespace ublas { template struct scalar_binary_assign_functor { + // Remove reference to avoid reference to reference problems typedef typename type_traits::type>::reference argument1_type; typedef typename type_traits::const_reference argument2_type; };