|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59055 - sandbox/numeric_bindings/libs/numeric/bindings/tools
From: rutger_at_[hidden]
Date: 2010-01-15 12:47:00
Author: rutger
Date: 2010-01-15 12:47:00 EST (Fri, 15 Jan 2010)
New Revision: 59055
URL: http://svn.boost.org/trac/boost/changeset/59055
Log:
minor improvement in handling of real/complex cases by lapack generator
Text files modified:
sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py 2010-01-15 12:47:00 EST (Fri, 15 Jan 2010)
@@ -157,12 +157,12 @@
# first, see what kind of functions we have
# needed for argument check etc.
for subroutine in subroutines:
- if subroutine[0] == 'S' or subroutine[0] == 'D':
+ if info_map[ subroutine ][ 'value_type' ] == 'real':
if not cases.has_key( 'real' ):
cases[ 'real' ] = {}
cases[ 'real' ][ 'subroutines' ] = []
cases[ 'real' ][ 'subroutines' ] += [ subroutine ]
- if subroutine[0] == 'C' or subroutine[0] == 'Z':
+ if info_map[ subroutine ][ 'value_type' ] == 'complex':
if not cases.has_key( 'complex' ):
cases[ 'complex' ] = {}
cases[ 'complex' ][ 'subroutines' ] = []
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