[Scipy-svn] r6275 - trunk/scipy/cluster/src
scipy-svn at scipy.org
scipy-svn at scipy.org
Mon Mar 29 21:56:45 EDT 2010
Author: cdavid
Date: 2010-03-29 20:56:45 -0500 (Mon, 29 Mar 2010)
New Revision: 6275
Modified:
trunk/scipy/cluster/src/vq.c
Log:
BUG: fix warning in vq.
Modified: trunk/scipy/cluster/src/vq.c
===================================================================
--- trunk/scipy/cluster/src/vq.c 2010-03-27 00:17:22 UTC (rev 6274)
+++ trunk/scipy/cluster/src/vq.c 2010-03-30 01:56:45 UTC (rev 6275)
@@ -1,10 +1,15 @@
/*
- * vim:syntax=c
- *
* This file implements vq for float and double in C. It is a direct
* translation from the swig interface which could not be generated anymore
* with recent swig
*/
+
+/*
+ * Including python.h is necessary because python header redefines some macros
+ * in standart C header
+ */
+#include <Python.h>
+
#include <stddef.h>
#include <math.h>
More information about the Scipy-svn
mailing list