Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52968 - sandbox/numeric_bindings/boost/numeric/bindings/traits
From: rutger_at_[hidden]
Date: 2009-05-13 13:37:41


Author: rutger
Date: 2009-05-13 13:37:39 EDT (Wed, 13 May 2009)
New Revision: 52968
URL: http://svn.boost.org/trac/boost/changeset/52968

Log:
fixed support for ublas::unbounded_array in traits

Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/traits/ublas_vector.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/traits/ublas_vector.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/traits/ublas_vector.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/traits/ublas_vector.hpp 2009-05-13 13:37:39 EDT (Wed, 13 May 2009)
@@ -25,6 +25,11 @@
 
 namespace boost { namespace numeric { namespace bindings { namespace traits {
 
+ // ublas::unbounded array
+ template< typename T, typename Allocator, typename V >
+ struct vector_detail_traits< ublas::unbounded_array< T, Allocator >, V >:
+ public default_vector_traits< V, T > {};
+
   // ublas::vector<>
   template <typename T, typename ArrT, typename V>
   struct vector_detail_traits< boost::numeric::ublas::vector<T, ArrT>, V >


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