[GRASS-SVN] r44526 - grass/trunk/vector/v.surf.bspline

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 2 10:11:06 EST 2010


Author: mmetz
Date: 2010-12-02 07:11:06 -0800 (Thu, 02 Dec 2010)
New Revision: 44526

Modified:
   grass/trunk/vector/v.surf.bspline/main.c
Log:
need full bandwidth for special cases

Modified: grass/trunk/vector/v.surf.bspline/main.c
===================================================================
--- grass/trunk/vector/v.surf.bspline/main.c	2010-12-02 15:10:09 UTC (rev 44525)
+++ grass/trunk/vector/v.surf.bspline/main.c	2010-12-02 15:11:06 UTC (rev 44526)
@@ -592,7 +592,7 @@
 		int i;
 
 		nparameters = nsplx * nsply;
-		BW = P_get_BandWidth(P_BILINEAR, nsply) + 2 * (bilin == P_BICUBIC);
+		BW = P_get_BandWidth(bilin, nsply);
 
 		/* Least Squares system */
 		N = G_alloc_matrix(nparameters, BW);	/* Normal matrix */



More information about the grass-commit mailing list