[Numpy-svn] r6418 - branches/coremath/numpy/core/code_generators

numpy-svn@scip... numpy-svn@scip...
Thu Feb 19 05:47:03 CST 2009


Author: cdavid
Date: 2009-02-19 05:46:09 -0600 (Thu, 19 Feb 2009)
New Revision: 6418

Modified:
   branches/coremath/numpy/core/code_generators/generate_umath.py
Log:
Fix umath generator to use npymath funcs instead of straight libc ones.

Modified: branches/coremath/numpy/core/code_generators/generate_umath.py
===================================================================
--- branches/coremath/numpy/core/code_generators/generate_umath.py	2009-02-19 11:45:30 UTC (rev 6417)
+++ branches/coremath/numpy/core/code_generators/generate_umath.py	2009-02-19 11:46:09 UTC (rev 6418)
@@ -37,7 +37,7 @@
             self.out = self.type * nout
         assert len(self.out) == nout
 
-_fdata_map = dict(f='%sf', d='%s', g='%sl',
+_fdata_map = dict(f='npy_%sf', d='npy_%s', g='npy_%sl',
                   F='nc_%sf', D='nc_%s', G='nc_%sl')
 def build_func_data(types, f):
     func_data = []



More information about the Numpy-svn mailing list