[GRASS-SVN] r65813 - grass-addons/grass7/raster/r.mcda.electre

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 2 22:55:10 PDT 2015


Author: gianluca
Date: 2015-08-02 22:55:10 -0700 (Sun, 02 Aug 2015)
New Revision: 65813

Modified:
   grass-addons/grass7/raster/r.mcda.electre/dominance.c
   grass-addons/grass7/raster/r.mcda.electre/main.c
Log:
remove warning

Modified: grass-addons/grass7/raster/r.mcda.electre/dominance.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.electre/dominance.c	2015-08-02 22:07:07 UTC (rev 65812)
+++ grass-addons/grass7/raster/r.mcda.electre/dominance.c	2015-08-03 05:55:10 UTC (rev 65813)
@@ -15,8 +15,8 @@
  * function definitions
  */
 
-void build_weight_vect(int nrows, int ncols, int ncriteria,
-                       struct Option *weight, double *weight_vect)
+void build_weight_vect(int ncriteria,struct Option *weight, 
+						double *weight_vect)
 {
 
     int i, nweight = 0;

Modified: grass-addons/grass7/raster/r.mcda.electre/main.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.electre/main.c	2015-08-02 22:07:07 UTC (rev 65812)
+++ grass-addons/grass7/raster/r.mcda.electre/main.c	2015-08-03 05:55:10 UTC (rev 65813)
@@ -109,7 +109,7 @@
 
 
 
-    build_weight_vect(nrows,ncols,ncriteria,weight,weight_vect); /*calcolate weight vector*/
+    build_weight_vect(ncriteria,weight,weight_vect); /*calcolate weight vector*/
 
 
 



More information about the grass-commit mailing list