[GRASS-SVN] r39369 - grass/branches/develbranch_6/raster/r.watershed/seg

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 1 12:32:55 EDT 2009


Author: mmetz
Date: 2009-10-01 12:32:55 -0400 (Thu, 01 Oct 2009)
New Revision: 39369

Modified:
   grass/branches/develbranch_6/raster/r.watershed/seg/do_cum.c
Log:
MFD bugfix

Modified: grass/branches/develbranch_6/raster/r.watershed/seg/do_cum.c
===================================================================
--- grass/branches/develbranch_6/raster/r.watershed/seg/do_cum.c	2009-10-01 12:48:29 UTC (rev 39368)
+++ grass/branches/develbranch_6/raster/r.watershed/seg/do_cum.c	2009-10-01 16:32:55 UTC (rev 39369)
@@ -194,6 +194,7 @@
 		r_nbr = r + nextdr[ct_dir];
 		c_nbr = c + nextdc[ct_dir];
 		weight[ct_dir] = -1;
+		worked_nbr[ct_dir] = 1;
 		/* check that neighbour is within region */
 		if (r_nbr >= 0 && r_nbr < nrows && c_nbr >= 0 &&
 		    c_nbr < ncols) {



More information about the grass-commit mailing list