# HG changeset patch # User Alpar Juttner # Date 1228387794 0 # 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 -r cb5f50e6c78b -r e562b69acbc6 lemon/dfs.h --- a/lemon/dfs.h Mon Dec 01 13:48:26 2008 +0000 +++ b/lemon/dfs.h Thu Dec 04 10:49:54 2008 +0000 @@ -1413,6 +1413,7 @@ _stack[++_stack_head] = e; } else { _visitor->leave(s); + _visitor->stop(s); } } }