[GRASS-SVN] r44527 - grass/branches/develbranch_6/vector/lidar/v.surf.bspline

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 2 10:13:18 EST 2010


Author: mmetz
Date: 2010-12-02 07:13:18 -0800 (Thu, 02 Dec 2010)
New Revision: 44527

Modified:
   grass/branches/develbranch_6/vector/lidar/v.surf.bspline/main.c
Log:
need full bandwidth for special cases (backport from trunk r44526

Modified: grass/branches/develbranch_6/vector/lidar/v.surf.bspline/main.c
===================================================================
--- grass/branches/develbranch_6/vector/lidar/v.surf.bspline/main.c	2010-12-02 15:11:06 UTC (rev 44526)
+++ grass/branches/develbranch_6/vector/lidar/v.surf.bspline/main.c	2010-12-02 15:13:18 UTC (rev 44527)
@@ -546,7 +546,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