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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 13 14:02:32 PDT 2015


Author: gianluca
Date: 2015-09-13 14:02:32 -0700 (Sun, 13 Sep 2015)
New Revision: 66197

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 21:00:27 UTC (rev 66196)
+++ grass-addons/grass7/raster/r.mcda.promethee/promethee.c	2015-09-13 21:02:32 UTC (rev 66197)
@@ -89,7 +89,7 @@
 			}
 		}
 	}
-	G_message("check");
+
 	for(row1 = 0; row1 < nrows; row1++)
 		{
 			for (col1 = 0; col1 < ncols; col1++)
@@ -98,6 +98,7 @@
 					positive_flow_vol[row1][col1]=positive_flow_vol[row1][col1]/ncriteria;
 					negative_flow_vol[row1][col1]=negative_flow_vol[row1][col1]/ncriteria;
 					net_flow_vol[row1][col1]=positive_flow_vol[row1][col1]-negative_flow_vol[row1][col1];
+					G_message("%f-%f=%f",positive_flow_vol[row1][col1],negative_flow_vol[row1][col1],net_flow_vol[row1][col1]);
 				}
 		}
 }



More information about the grass-commit mailing list