[GRASS-SVN] r66302 - grass-addons/grass7/imagery/i.spec.sam

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 23 02:21:32 PDT 2015


Author: ychemin
Date: 2015-09-23 02:21:32 -0700 (Wed, 23 Sep 2015)
New Revision: 66302

Modified:
   grass-addons/grass7/imagery/i.spec.sam/main.c
Log:
continuing the modification towards Gmath

Modified: grass-addons/grass7/imagery/i.spec.sam/main.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/main.c	2015-09-23 08:34:04 UTC (rev 66301)
+++ grass-addons/grass7/imagery/i.spec.sam/main.c	2015-09-23 09:21:32 UTC (rev 66302)
@@ -22,6 +22,7 @@
 #include <grass/raster.h>
 #include <grass/imagery.h>
 #include <grass/gmath.h>
+/*#include <grass/glocale.h>*/
 #include "local_proto.h"
 #include "global.h"
 
@@ -47,7 +48,7 @@
 
 int open_files();
 void spectral_angle();
-CELL myround(x);
+CELL myround(double x);
 
 int main(argc,argv) 
 char *argv[];
@@ -217,8 +218,7 @@
 } /* main*/
 
 
-CELL myround (x)
-  double x;
+CELL myround (double x)
   {
     CELL n;
     



More information about the grass-commit mailing list