diff -r 257e91516e09 -r 1f08e846df29 lemon/preflow.h --- a/lemon/preflow.h Fri May 29 17:46:48 2009 +0100 +++ b/lemon/preflow.h Tue Aug 18 10:24:31 2009 +0200 @@ -374,7 +374,7 @@ /// \brief Sets the tolerance used by algorithm. /// /// Sets the tolerance used by algorithm. - Preflow& tolerance(const Tolerance& tolerance) const { + Preflow& tolerance(const Tolerance& tolerance) { _tolerance = tolerance; return *this; } @@ -383,7 +383,7 @@ /// /// Returns a const reference to the tolerance. const Tolerance& tolerance() const { - return tolerance; + return _tolerance; } /// \name Execution Control