1.1 --- a/lemon/adaptors.h Fri Dec 12 22:00:03 2008 +0100
1.2 +++ b/lemon/adaptors.h Fri Dec 12 22:09:29 2008 +0100
1.3 @@ -2205,12 +2205,12 @@
1.4 void first(Node& i) const { _graph->first(i); }
1.5 void first(Arc& i) const { _graph->first(i); }
1.6 void firstIn(Arc& i, const Node& n) const {
1.7 - bool d;
1.8 + bool d = true;
1.9 _graph->firstInc(i, d, n);
1.10 while (i != INVALID && d == (*_direction)[i]) _graph->nextInc(i, d);
1.11 }
1.12 void firstOut(Arc& i, const Node& n ) const {
1.13 - bool d;
1.14 + bool d = true;
1.15 _graph->firstInc(i, d, n);
1.16 while (i != INVALID && d != (*_direction)[i]) _graph->nextInc(i, d);
1.17 }