[GRASS-SVN] r66818 - grass-addons/grass7/raster/r.gwr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 12 03:07:24 PST 2015
Author: ychemin
Date: 2015-11-12 03:07:24 -0800 (Thu, 12 Nov 2015)
New Revision: 66818
Modified:
grass-addons/grass7/raster/r.gwr/bufs.h
grass-addons/grass7/raster/r.gwr/main.c
Log:
commented adaptive flag
Modified: grass-addons/grass7/raster/r.gwr/bufs.h
===================================================================
--- grass-addons/grass7/raster/r.gwr/bufs.h 2015-11-12 09:30:26 UTC (rev 66817)
+++ grass-addons/grass7/raster/r.gwr/bufs.h 2015-11-12 11:07:24 UTC (rev 66818)
@@ -1,6 +1,6 @@
struct rb
{
- int fd;
+ int fd; /* File Descriptor */
int bw; /* bandwidth */
int nsize; /* bw * 2 + 1 */
int row; /* next row to read */
Modified: grass-addons/grass7/raster/r.gwr/main.c
===================================================================
--- grass-addons/grass7/raster/r.gwr/main.c 2015-11-12 09:30:26 UTC (rev 66817)
+++ grass-addons/grass7/raster/r.gwr/main.c 2015-11-12 11:07:24 UTC (rev 66818)
@@ -54,7 +54,7 @@
*output_res, *output_est, *output_b, *output_opt,
*bw_opt, *kernel_opt, *vf_opt;
struct Flag *shell_style, *estimate;
- struct Flag *adaptive;
+ /*struct Flag *adaptive;*/
struct Cell_head region;
struct GModule *module;
@@ -131,9 +131,9 @@
estimate->key = 'e';
estimate->description = _("Estimate optimal bandwidth");
- adaptive = G_define_flag();
+ /*adaptive = G_define_flag();
adaptive->key = 'a';
- adaptive->description = _("Adaptive kernel size");
+ adaptive->description = _("Adaptive kernel size");*/
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
@@ -163,7 +163,7 @@
if (bw < 2)
G_fatal_error(_("Option <%s> must be > 1"), bw_opt->key);
- if(adaptive->answer)
+ /*if(adaptive->answer)*/
/*IN MAKING*/
set_wfn(kernel_opt->answer, atoi(vf_opt->answer));
More information about the grass-commit
mailing list