|
Boost-Commit : |
From: karl.meerbergen_at_[hidden]
Date: 2007-08-20 07:16:04
Author: karlmeerbergen
Date: 2007-08-20 07:16:04 EDT (Mon, 20 Aug 2007)
New Revision: 38779
URL: http://svn.boost.org/trac/boost/changeset/38779
Log:
error in POOR_MANS_TRAITS part
Text files modified:
sandbox/boost/numeric/bindings/blas/blas1.hpp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Modified: sandbox/boost/numeric/bindings/blas/blas1.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/blas/blas1.hpp (original)
+++ sandbox/boost/numeric/bindings/blas/blas1.hpp 2007-08-20 07:16:04 EDT (Mon, 20 Aug 2007)
@@ -74,7 +74,13 @@
assert( traits::vector_size( x ) == traits::vector_size( y ) ) ;
- typedef typename vector_type_x::value_type value_type ;
+ typedef
+#ifndef BOOST_NUMERIC_BINDINGS_POOR_MANS_TRAITS
+ typename traits::vector_traits< vector_type_x >::value_type
+#else
+ typename vector_type_x::value_type
+#endif
+ value_type ;
const int n = traits::vector_size( x ) ;
const int stride_x = traits::vector_stride( x ) ;
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