Browse Source

lanczos: adjust t,u order

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44296 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
f9b922b012
1 changed files with 1 additions and 1 deletions
  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);
 }