[GRASS-SVN] r47664 - grass/trunk/raster/r.terraflow
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 16 03:00:23 EDT 2011
Author: glynn
Date: 2011-08-16 00:00:23 -0700 (Tue, 16 Aug 2011)
New Revision: 47664
Modified:
grass/trunk/raster/r.terraflow/main.cc
Log:
Fix atoi -> atof
Modified: grass/trunk/raster/r.terraflow/main.cc
===================================================================
--- grass/trunk/raster/r.terraflow/main.cc 2011-08-16 00:18:16 UTC (rev 47663)
+++ grass/trunk/raster/r.terraflow/main.cc 2011-08-16 07:00:23 UTC (rev 47664)
@@ -168,7 +168,7 @@
if (strcmp(d8cut->answer, "infinity") == 0) {
opt->d8cut = MAX_ACCU;
} else {
- opt->d8cut = atoi(d8cut->answer);
+ opt->d8cut = atof(d8cut->answer);
}
opt->mem = atoi(mem->answer);
More information about the grass-commit
mailing list