[GRASS-SVN] r66465 - grass-addons/grass7/raster/r.gwr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 10 09:59:10 PDT 2015
Author: ychemin
Date: 2015-10-10 09:59:10 -0700 (Sat, 10 Oct 2015)
New Revision: 66465
Modified:
grass-addons/grass7/raster/r.gwr/main.c
Log:
Corrected typo for flag
Modified: grass-addons/grass7/raster/r.gwr/main.c
===================================================================
--- grass-addons/grass7/raster/r.gwr/main.c 2015-10-10 16:38:25 UTC (rev 66464)
+++ grass-addons/grass7/raster/r.gwr/main.c 2015-10-10 16:59:10 UTC (rev 66465)
@@ -132,7 +132,7 @@
estimate->description = _("Estimate optimal bandwidth");
adaptive = G_define_flag();
- adaptive->key = 'e';
+ adaptive->key = 'a';
adaptive->description = _("Adaptive kernel size");
if (G_parser(argc, argv))
@@ -163,6 +163,9 @@
if (bw < 2)
G_fatal_error(_("Option <%s> must be > 1"), bw_opt->key);
+ if(adaptive->answer)
+ /*IN MAKING*/
+
set_wfn(kernel_opt->answer, atoi(vf_opt->answer));
/* open maps */
More information about the grass-commit
mailing list