[GRASS-SVN] r66193 - grass-addons/grass7/raster/r.mcda.promethee

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 13 13:48:17 PDT 2015


Author: gianluca
Date: 2015-09-13 13:48:17 -0700 (Sun, 13 Sep 2015)
New Revision: 66193

Modified:
   grass-addons/grass7/raster/r.mcda.promethee/promethee.c
Log:
-

Modified: grass-addons/grass7/raster/r.mcda.promethee/promethee.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.promethee/promethee.c	2015-09-13 20:42:44 UTC (rev 66192)
+++ grass-addons/grass7/raster/r.mcda.promethee/promethee.c	2015-09-13 20:48:17 UTC (rev 66193)
@@ -61,6 +61,7 @@
 /* make pairwise comparation and build positive flow matrix */
 	for (i = 0; i < ncriteria; i++)
 	{
+		G_percent(i, (ncriteria), 1);
 		for (row1 = 0; row1 < nrows; row1++)
 		{
 			for (col1 = 0; col1 < ncols; col1++)
@@ -68,7 +69,7 @@
 				//G_percent(i, (nrows*ncriteria), 2);
 				for (row2 = 0; row2 < nrows; row2++)
 				{
-					G_percent(row2, (nrows), 2);
+					//G_percent(row2, (nrows), 2);
 					for (col2 = 0; col2 < ncols; col2++)
 					{
 						threshold = (decision_vol[row1][col1][i] - decision_vol[row2][col2][i]);



More information about the grass-commit mailing list