diff -r fb93895f84d9 -r 5795e130402e lemon/circulation.h --- a/lemon/circulation.h Thu Aug 20 22:52:16 2009 +0200 +++ b/lemon/circulation.h Mon Aug 31 07:12:58 2009 +0200 @@ -450,19 +450,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