[GRASS-SVN] r64290 - in grass/trunk/raster: r.cost r.walk
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 23 12:13:19 PST 2015
Author: mmetz
Date: 2015-01-23 12:13:19 -0800 (Fri, 23 Jan 2015)
New Revision: 64290
Modified:
grass/trunk/raster/r.cost/main.c
grass/trunk/raster/r.walk/main.c
Log:
r.cost, r.walk: fix debug level
Modified: grass/trunk/raster/r.cost/main.c
===================================================================
--- grass/trunk/raster/r.cost/main.c 2015-01-23 20:13:01 UTC (rev 64289)
+++ grass/trunk/raster/r.cost/main.c 2015-01-23 20:13:19 UTC (rev 64290)
@@ -383,7 +383,7 @@
/* calculate disk space and memory requirements */
/* (nrows + ncols) * 8. * 20.0 / 1048576. for Dijkstra search */
pq_mb = ((double)nrows + ncols) * 8. * 20.0 / 1048576.;
- G_debug(0, "pq MB: %g", pq_mb);
+ G_debug(1, "pq MB: %g", pq_mb);
maxmem -= pq_mb;
if (maxmem < 10)
maxmem = 10;
Modified: grass/trunk/raster/r.walk/main.c
===================================================================
--- grass/trunk/raster/r.walk/main.c 2015-01-23 20:13:01 UTC (rev 64289)
+++ grass/trunk/raster/r.walk/main.c 2015-01-23 20:13:19 UTC (rev 64290)
@@ -496,7 +496,7 @@
/* calculate disk space and memory requirements */
/* (nrows + ncols) * 8. * 20.0 / 1048576. for Dijkstra search */
pq_mb = ((double)nrows + ncols) * 8. * 20.0 / 1048576.;
- G_debug(0, "pq MB: %g", pq_mb);
+ G_debug(1, "pq MB: %g", pq_mb);
maxmem -= pq_mb;
if (maxmem < 10)
maxmem = 10;
More information about the grass-commit
mailing list