소스 검색

use interpolator Macro

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44525 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 년 전
부모
커밋
d2cdb116b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/lidar/zones.c

+ 1 - 1
lib/lidar/zones.c

@@ -220,7 +220,7 @@ int P_get_BandWidth(int interpolator, int nsplines)
 {
     /* Returns the interpolation matrixes BandWidth dimension */
 
-    if (interpolator == 1) {
+    if (interpolator == P_BILINEAR) {
 	return (2 * nsplines + 1);
     }
     else {