[GRASS-SVN] r45819 - grass/branches/releasebranch_6_4/raster/r.kappa

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 1 09:41:01 EDT 2011


Author: mmetz
Date: 2011-04-01 06:41:01 -0700 (Fri, 01 Apr 2011)
New Revision: 45819

Modified:
   grass/branches/releasebranch_6_4/raster/r.kappa/stats.c
Log:
rows and columns were swapped (backport from devbr r45818)

Modified: grass/branches/releasebranch_6_4/raster/r.kappa/stats.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.kappa/stats.c	2011-04-01 13:39:27 UTC (rev 45818)
+++ grass/branches/releasebranch_6_4/raster/r.kappa/stats.c	2011-04-01 13:41:01 UTC (rev 45819)
@@ -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