[GRASS-SVN] r45818 - grass/branches/develbranch_6/raster/r.kappa

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 1 09:39:27 EDT 2011


Author: mmetz
Date: 2011-04-01 06:39:27 -0700 (Fri, 01 Apr 2011)
New Revision: 45818

Modified:
   grass/branches/develbranch_6/raster/r.kappa/stats.c
Log:
rows and columns were swapped

Modified: grass/branches/develbranch_6/raster/r.kappa/stats.c
===================================================================
--- grass/branches/develbranch_6/raster/r.kappa/stats.c	2011-03-31 12:45:34 UTC (rev 45817)
+++ grass/branches/develbranch_6/raster/r.kappa/stats.c	2011-04-01 13:39:27 UTC (rev 45818)
@@ -38,9 +38,9 @@
     strcpy(buf, "r.stats -cin");
     strcat(buf, " fs=:");
     strcat(buf, " input=");
-    strcat(buf, G_fully_qualified_name(maps[0], mmapset));
+    strcat(buf, G_fully_qualified_name(maps[1], mmapset));
     strcat(buf, ",");
-    strcat(buf, G_fully_qualified_name(maps[1], rmapset));
+    strcat(buf, G_fully_qualified_name(maps[0], rmapset));
     strcat(buf, " > ");
     strcat(buf, stats_file);
 



More information about the grass-commit mailing list