Boost logo

Boost-Commit :

From: guwi17_at_[hidden]
Date: 2008-07-06 17:39:10


Author: guwi17
Date: 2008-07-06 17:39:09 EDT (Sun, 06 Jul 2008)
New Revision: 47148
URL: http://svn.boost.org/trac/boost/changeset/47148

Log:
- added missing typedefs for difference type
- using BOOST_UBLAS_USE_ITERATING is still not working properly

Text files modified:
   trunk/boost/numeric/ublas/vector_expression.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/numeric/ublas/vector_expression.hpp
==============================================================================
--- trunk/boost/numeric/ublas/vector_expression.hpp (original)
+++ trunk/boost/numeric/ublas/vector_expression.hpp 2008-07-06 17:39:09 EDT (Sun, 06 Jul 2008)
@@ -1424,6 +1424,7 @@
         typedef vector_scalar_unary<E, F> 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 @@
     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;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk