From 57435632088ccd7c1d7245e22d385fc9b6ad1e4e Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Sun, 6 Jul 2008 21:39:09 +0000 Subject: [PATCH] - added missing typedefs for difference type - using BOOST_UBLAS_USE_ITERATING is still not working properly --- include/boost/numeric/ublas/vector_expression.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/numeric/ublas/vector_expression.hpp b/include/boost/numeric/ublas/vector_expression.hpp index 46cf7a98..e383ab38 100644 --- a/include/boost/numeric/ublas/vector_expression.hpp +++ b/include/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 E1::difference_type difference_type; typedef const self_type const_closure_type; typedef const_closure_type closure_type; typedef unknown_storage_tag storage_category;