[GRASS-SVN] r66210 - grass-addons/grass7/raster/r.mcda.promethee
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 14 06:01:36 PDT 2015
Author: gianluca
Date: 2015-09-14 06:01:36 -0700 (Mon, 14 Sep 2015)
New Revision: 66210
Modified:
grass-addons/grass7/raster/r.mcda.promethee/main.c
grass-addons/grass7/raster/r.mcda.promethee/promethee.c
Log:
-
Modified: grass-addons/grass7/raster/r.mcda.promethee/main.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.promethee/main.c 2015-09-14 12:22:43 UTC (rev 66209)
+++ grass-addons/grass7/raster/r.mcda.promethee/main.c 2015-09-14 13:01:36 UTC (rev 66210)
@@ -222,11 +222,11 @@
{
((DCELL *) outrast_positive_flow)[col1] = (DCELL)positive_flow_vol[row1][col1];/*write positive flow map*/
((DCELL *) outrast_negative_flow)[col1] = (DCELL)negative_flow_vol[row1][col1];/*write negative flow map*/
- ((DCELL *) outrast_net_flow)[col1] = (DCELL)net_flow_vol[row1][col1];/*write negative flow map*/;
+ //((DCELL *) outrast_net_flow)[col1] = (DCELL)net_flow_vol[row1][col1];/*write negative flow map*/;
}
Rast_put_row(outfd_positive_flow, outrast_positive_flow, DCELL_TYPE);
Rast_put_row(outfd_negative_flow, outrast_negative_flow, DCELL_TYPE);
- Rast_put_row(outfd_net_flow, outrast_net_flow, DCELL_TYPE);
+ //Rast_put_row(outfd_net_flow, outrast_net_flow, DCELL_TYPE);
}
Modified: grass-addons/grass7/raster/r.mcda.promethee/promethee.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.promethee/promethee.c 2015-09-14 12:22:43 UTC (rev 66209)
+++ grass-addons/grass7/raster/r.mcda.promethee/promethee.c 2015-09-14 13:01:36 UTC (rev 66210)
@@ -98,7 +98,7 @@
//G_percent(col1, (ncols), 2);
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]=0; //positive_flow_vol[row1][col1]-negative_flow_vol[row1][col1];
+ //net_flow_vol[row1][col1]=0; //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