diff -r 98a30824fe36 -r ece80147fb08 lemon/circulation.h --- a/lemon/circulation.h Fri Jul 24 11:07:52 2009 +0200 +++ b/lemon/circulation.h Fri Sep 25 09:06:32 2009 +0200 @@ -457,19 +457,21 @@ return *_level; } - /// \brief Sets the tolerance used by algorithm. + /// \brief Sets the tolerance used by the algorithm. /// - /// Sets the tolerance used by algorithm. - Circulation& tolerance(const Tolerance& tolerance) const { + /// Sets the tolerance object used by the algorithm. + /// \return (*this) + Circulation& tolerance(const Tolerance& tolerance) { _tol = tolerance; return *this; } /// \brief Returns a const reference to the tolerance. /// - /// Returns a const reference to the tolerance. + /// Returns a const reference to the tolerance object used by + /// the algorithm. const Tolerance& tolerance() const { - return tolerance; + return _tol; } /// \name Execution Control