소스 검색

lanczos: adjust t,u order

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

+ 1 - 1
raster/r.proj/lanczos.c

@@ -59,7 +59,7 @@ void p_lanczos(struct cache *ibuffer,	/* input buffer                  */
     t = *col_idx - 0.5 - col;
     u = *row_idx - 0.5 - row;
 
-    result = Rast_interp_lanczos(u, t, cell);
+    result = Rast_interp_lanczos(t, u, cell);
 
     Rast_set_f_value(obufptr, result, cell_type);
 }