Bug fix.
authordeba
Fri, 30 Sep 2005 13:10:42 +0000
changeset 16907db44a7ab939
parent 1689 f1795dafe42c
child 1691 6be54bcc14ec
Bug fix.
lemon/lemon_writer.h
     1.1 --- a/lemon/lemon_writer.h	Wed Sep 28 08:14:39 2005 +0000
     1.2 +++ b/lemon/lemon_writer.h	Fri Sep 30 13:10:42 2005 +0000
     1.3 @@ -832,7 +832,7 @@
     1.4      /// will write its id in the graph. If the edge is forward map
     1.5      /// then its prefix character is \c '+' elsewhere \c '-'.
     1.6      void writeId(std::ostream& os, const Edge& item) const {
     1.7 -      if (graph.forward(item)) {
     1.8 +      if (graph.direction(item)) {
     1.9  	os << "+ ";
    1.10        } else {
    1.11  	os << "- ";