diff --git a/lemon/hao_orlin.h b/lemon/hao_orlin.h --- a/lemon/hao_orlin.h +++ b/lemon/hao_orlin.h @@ -226,6 +226,7 @@ for (NodeIt n(_graph); n != INVALID; ++n) { (*_excess)[n] = 0; + (*_source_set)[n] = false; } for (ArcIt a(_graph); a != INVALID; ++a) { @@ -525,6 +526,7 @@ for (NodeIt n(_graph); n != INVALID; ++n) { (*_excess)[n] = 0; + (*_source_set)[n] = false; } for (ArcIt a(_graph); a != INVALID; ++a) {