[GRASS-SVN] r71703 - grass-addons/grass7/raster/r.stream.order

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 12 09:06:06 PST 2017


Author: mmetz
Date: 2017-11-12 09:06:06 -0800 (Sun, 12 Nov 2017)
New Revision: 71703

Modified:
   grass-addons/grass7/raster/r.stream.order/stream_topology.c
Log:
r.stream.order: sync max allowed number of tributaries

Modified: grass-addons/grass7/raster/r.stream.order/stream_topology.c
===================================================================
--- grass-addons/grass7/raster/r.stream.order/stream_topology.c	2017-11-12 16:19:34 UTC (rev 71702)
+++ grass-addons/grass7/raster/r.stream.order/stream_topology.c	2017-11-12 17:06:06 UTC (rev 71703)
@@ -86,7 +86,7 @@
 		    SA[cur_stream].trib_num = trib_num;
 
 		    for (i = 1; i < 9; ++i) {
-			if (trib > 4)
+			if (trib > 5)
 			    G_fatal_error(_("Error finding nodes. "
                                             "Stream and direction maps probably do not match."));
 			if (NOT_IN_REGION(i))
@@ -302,7 +302,7 @@
 
 		    for (i = 1; i < 9; ++i) {
 
-			if (trib > 4)
+			if (trib > 5)
 			    G_fatal_error(_("Error finding nodes. "
                                             "Stream and direction maps probably do not match."));
 			if (NOT_IN_REGION(i))



More information about the grass-commit mailing list