Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58103 - in sandbox/numeric_bindings/libs/numeric/bindings/tools: . templates
From: rutger_at_[hidden]
Date: 2009-12-02 15:01:06


Author: rutger
Date: 2009-12-02 15:01:06 EST (Wed, 02 Dec 2009)
New Revision: 58103
URL: http://svn.boost.org/trac/boost/changeset/58103

Log:
Minor update(s)

Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py | 6 +++---
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp | 4 ++--
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py 2009-12-02 15:01:06 EST (Wed, 02 Dec 2009)
@@ -103,12 +103,12 @@
 def call_level0_type( name, properties, arg_map ):
   result = ''
   if properties[ 'type' ] == 'matrix':
- result = "traits::matrix_storage(" + name.lower() + ")"
+ result = "begin_value(" + name.lower() + ")"
   elif properties[ 'type' ] == 'vector':
     my_name = name.lower()
     if 'workspace' in properties[ 'io' ]:
       my_name = 'work.select(' + workspace_type( name, properties ) + '())'
- result = "traits::vector_storage(" + my_name + ")"
+ result = "begin_value(" + my_name + ")"
   elif properties.has_key( 'trait_type' ):
     if properties[ 'trait_type' ] == 'lda':
       result = "traits::leading_dimension(" + properties[ 'trait_of' ].lower() + ")"
@@ -409,7 +409,7 @@
     if properties.has_key( 'workspace_query_by' ):
       result = '&opt_size_' + name.lower();
     else:
- result = 'traits::vector_storage(tmp_' + name.lower() + ')'
+ result = 'begin_value(tmp_' + name.lower() + ')'
   else:
     result = call_level0_type( name, properties, arg_map )
   return result

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp 2009-12-02 15:01:06 EST (Wed, 02 Dec 2009)
@@ -79,9 +79,9 @@
 $TEMPLATE[blas_level2]
 // generic template function to call $groupname
 template< $TYPES >
-inline typename $groupname_impl< typename tensor_traits< $FIRST_TYPENAME >::value_type >::return_type
+inline typename $groupname_impl< typename value< $FIRST_TYPENAME >::type >::return_type
 $groupname( $LEVEL2 ) {
- typedef typename tensor_traits< $FIRST_TYPENAME >::value_type value_type;
+ typedef typename value< $FIRST_TYPENAME >::type value_type;
     $STATIC_ASSERTS
     $RETURN_STATEMENT$groupname_impl< value_type >::invoke( $CALL_LEVEL1 );
 }


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