[GRASS-SVN] r44624 - grass/trunk/raster/r.watershed/ram
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 17 06:14:48 EST 2010
Author: mmetz
Date: 2010-12-17 03:14:48 -0800 (Fri, 17 Dec 2010)
New Revision: 44624
Modified:
grass/trunk/raster/r.watershed/ram/do_cum.c
Log:
always mark as processed
Modified: grass/trunk/raster/r.watershed/ram/do_cum.c
===================================================================
--- grass/trunk/raster/r.watershed/ram/do_cum.c 2010-12-16 18:23:25 UTC (rev 44623)
+++ grass/trunk/raster/r.watershed/ram/do_cum.c 2010-12-17 11:14:48 UTC (rev 44624)
@@ -148,6 +148,7 @@
G_percent(killer, do_points, 1);
this_index = astar_pts[killer];
seg_index_rc(alt_seg, this_index, &r, &c);
+ FLAG_SET(worked, r, c);
aspect = asp[this_index];
if (aspect) {
dr = r + asp_r[ABS(aspect)];
@@ -361,7 +362,6 @@
if (er_flag && !is_swale)
slope_length(r, c, r_max, c_max);
}
- FLAG_SET(worked, r, c);
}
}
if (workedon)
More information about the grass-commit
mailing list