Browse Source

need full bandwidth for special cases

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44526 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
399f534716
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vector/v.surf.bspline/main.c

+ 1 - 1
vector/v.surf.bspline/main.c

@@ -592,7 +592,7 @@ int main(int argc, char *argv[])
 		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 */