# HG changeset patch # User deba # Date 1128085842 0 # Node ID 7db44a7ab93990d685c4eca68d1fbd8ef4eb758b # Parent f1795dafe42c2c38a0a5628d0748e932b3aead47 Bug fix. diff -r f1795dafe42c -r 7db44a7ab939 lemon/lemon_writer.h --- a/lemon/lemon_writer.h Wed Sep 28 08:14:39 2005 +0000 +++ b/lemon/lemon_writer.h Fri Sep 30 13:10:42 2005 +0000 @@ -832,7 +832,7 @@ /// will write its id in the graph. If the edge is forward map /// then its prefix character is \c '+' elsewhere \c '-'. void writeId(std::ostream& os, const Edge& item) const { - if (graph.forward(item)) { + if (graph.direction(item)) { os << "+ "; } else { os << "- ";