[GRASS-SVN] r45823 - grass/branches/releasebranch_6_3/raster/r.kappa

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 1 16:17:04 EDT 2011


Author: neteler
Date: 2011-04-01 13:17:04 -0700 (Fri, 01 Apr 2011)
New Revision: 45823

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

Modified: grass/branches/releasebranch_6_3/raster/r.kappa/stats.c
===================================================================
--- grass/branches/releasebranch_6_3/raster/r.kappa/stats.c	2011-04-01 20:08:25 UTC (rev 45822)
+++ grass/branches/releasebranch_6_3/raster/r.kappa/stats.c	2011-04-01 20:17:04 UTC (rev 45823)
@@ -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