[Scipy-svn] r2414 - trunk/Lib/sandbox/models
scipy-svn at scipy.org
scipy-svn at scipy.org
Fri Dec 15 01:39:40 EST 2006
Author: timl
Date: 2006-12-15 00:39:30 -0600 (Fri, 15 Dec 2006)
New Revision: 2414
Modified:
trunk/Lib/sandbox/models/bspline_module.py
Log:
fix weave build error in models
Modified: trunk/Lib/sandbox/models/bspline_module.py
===================================================================
--- trunk/Lib/sandbox/models/bspline_module.py 2006-12-15 04:42:25 UTC (rev 2413)
+++ trunk/Lib/sandbox/models/bspline_module.py 2006-12-15 06:39:30 UTC (rev 2414)
@@ -128,7 +128,7 @@
eval_ext_code = '''
- int dim[2] = {upper-lower, Nx[0]};
+ npy_intp dim[2] = {upper-lower, Nx[0]};
PyArrayObject *basis;
double *data;
@@ -252,7 +252,7 @@
gram_ext_code = '''
- int dim[2] = {Nknots[0]-m, m};
+ npy_intp dim[2] = {Nknots[0]-m, m};
double *data;
PyArrayObject *gram;
@@ -315,7 +315,7 @@
invband_ext_code = '''
- int dim[2] = {NL[0], NL[1]};
+ npy_intp dim[2] = {NL[0], NL[1]};
int i, j;
double *data;
PyArrayObject *invband;
More information about the Scipy-svn
mailing list