[Numpy-svn] r4726 - branches/cleanconfig_rtm/numpy/core

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Jan 18 04:50:08 EST 2008


Author: cdavid
Date: 2008-01-18 03:50:04 -0600 (Fri, 18 Jan 2008)
New Revision: 4726

Modified:
   branches/cleanconfig_rtm/numpy/core/setup.py
Log:
Fix typo

Modified: branches/cleanconfig_rtm/numpy/core/setup.py
===================================================================
--- branches/cleanconfig_rtm/numpy/core/setup.py	2008-01-18 09:47:38 UTC (rev 4725)
+++ branches/cleanconfig_rtm/numpy/core/setup.py	2008-01-18 09:50:04 UTC (rev 4726)
@@ -428,9 +428,9 @@
     # Define NPY_NOSMP to 1 if explicitely requested, or if we cannot
     # support thread support reliably
     if is_npy_no_smp():
-        target_f.write('#define NPY_NO_SMP 1\n')
+        targetcode.append(r'#define NPY_NO_SMP 1')
     else:
-        target_f.write('#define NPY_NO_SMP 0\n')
+        targetcode.write(r'#define NPY_NO_SMP 0')
 
     tmpcode = r"""
     #ifdef PY_LONG_LONG




More information about the Numpy-svn mailing list