Browse Source

lanczos: adjust t,u order

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44297 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
2bde2271d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      imagery/i.rectify/lanczos.c

+ 1 - 1
imagery/i.rectify/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_d_value(obufptr, result, cell_type);
 }