# HG changeset patch # User Alpar Juttner # Date 2008-12-04 11:49:54 # Node ID e562b69acbc6a341ec88f9e7601d113b191157aa # Parent cb5f50e6c78b82b30d6c7bc4782d7d9cefb224cb Bugfix in DfsVisit (the same fix as in [9afe81e4c543] for the main br.) #61 - The stop() must be called in DfsVisit if there are no outgoing arcs from the newly added node diff --git a/lemon/dfs.h b/lemon/dfs.h --- a/lemon/dfs.h +++ b/lemon/dfs.h @@ -1413,6 +1413,7 @@ _stack[++_stack_head] = e; } else { _visitor->leave(s); + _visitor->stop(s); } } }