[GRASS-SVN] r66108 - grass-addons/grass7/raster/r.mcda.promethee
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 5 00:47:34 PDT 2015
Author: gianluca
Date: 2015-09-05 00:47:34 -0700 (Sat, 05 Sep 2015)
New Revision: 66108
Modified:
grass-addons/grass7/raster/r.mcda.promethee/main.c
Log:
develop
Modified: grass-addons/grass7/raster/r.mcda.promethee/main.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.promethee/main.c 2015-09-05 07:09:08 UTC (rev 66107)
+++ grass-addons/grass7/raster/r.mcda.promethee/main.c 2015-09-05 07:47:34 UTC (rev 66108)
@@ -183,7 +183,8 @@
/* Allocate output buffer, use DCELL_TYPE */
outrast_positive_flow = Rast_allocate_buf(DCELL_TYPE); /* Allocate memory for a raster map of type DCELL_TYPE. */
outrast_negative_flow = Rast_allocate_buf(DCELL_TYPE);
-
+ outrast_netflow = Rast_allocate_buf(DCELL_TYPE);
+
/* controlling, if we can write the raster */
outrast_positive_flow = Rast_open_new(result_positive_flow, DCELL_TYPE);
outrast_negative_flow = Rast_open_new(result_negative_flow, DCELL_TYPE);
@@ -206,7 +207,7 @@
}
}
-
+ G_message("step started");
build_flow_matrix(nrows,ncols,ncriteria,weight_vect,decision_vol,positive_flow_vol, negative_flow_vol); /*scan all DCELL, make a pairwise comparatione, buil positive flow matrix*/
G_message("step ended");
More information about the grass-commit
mailing list