Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58977 - sandbox/numeric_bindings/libs/numeric/bindings/tools
From: rutger_at_[hidden]
Date: 2010-01-13 09:13:38


Author: rutger
Date: 2010-01-13 09:13:37 EST (Wed, 13 Jan 2010)
New Revision: 58977
URL: http://svn.boost.org/trac/boost/changeset/58977

Log:
improved uplo detection by parser/generator

Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py | 4 +++-
   1 files changed, 3 insertions(+), 1 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 2010-01-13 09:13:37 EST (Wed, 13 Jan 2010)
@@ -1392,7 +1392,9 @@
           argument_properties[ 'trait_type' ] = 'uplo'
         
         else:
- match_uplo = re.compile( '([Uu]pper|[Ll]ower)(or|triangular|triangle|triangles|part|of|the|band|hermitian|Hermitian|symmetric|input|matrix|\s)+([A-Z]+)', re.M ).findall( comment_block )
+ match_uplo = re.compile( '([Uu]pper|[Ll]ower)(or|triangular|triangle|triangles|' + \
+ 'factor is stored in|\, form is|part|of|the|band|hermitian|' + \
+ 'Hermitian|symmetric|input|matrix|\s)+([A-Z]+)', re.M ).findall( comment_block )
           match_uplo_alt = re.compile( '(A) is (upper|lower) triangular', re.M | re.S ).findall( comment_block )
           uplo_trait_of = None
           if len( match_uplo ) > 0:


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