[Lemon-commits] [lemon_svn] deba: r2216 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:50:59 CET 2006


Author: deba
Date: Fri Sep 30 15:10:42 2005
New Revision: 2216

Modified:
   hugo/trunk/lemon/lemon_writer.h

Log:
Bug fix.



Modified: hugo/trunk/lemon/lemon_writer.h
==============================================================================
--- hugo/trunk/lemon/lemon_writer.h	(original)
+++ hugo/trunk/lemon/lemon_writer.h	Fri Sep 30 15:10:42 2005
@@ -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 << "- ";



More information about the Lemon-commits mailing list