From 93a8112558f16db98999f95a280f40a638f8674d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 2 Jul 2008 11:41:08 -0400 Subject: [PATCH] Fix BOOST_UBLAS_USE_ITERATING. --- boost/numeric/ublas/vector_expression.hpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/boost/numeric/ublas/vector_expression.hpp b/boost/numeric/ublas/vector_expression.hpp index 46cf7a9..aeaeff9 100644 --- a/boost/numeric/ublas/vector_expression.hpp +++ b/boost/numeric/ublas/vector_expression.hpp @@ -1424,6 +1424,7 @@ namespace boost { namespace numeric { namespace ublas { typedef vector_scalar_unary self_type; public: typedef typename F::result_type value_type; + typedef typename E::difference_type difference_type; typedef const self_type const_closure_type; typedef const_closure_type closure_type; typedef unknown_storage_tag storage_category; @@ -1555,6 +1556,7 @@ namespace boost { namespace numeric { namespace ublas { public: static const unsigned complexity = 1; typedef typename F::result_type value_type; + typedef typename F::difference_type difference_type; typedef const self_type const_closure_type; typedef const_closure_type closure_type; typedef unknown_storage_tag storage_category; -- 1.5.6