1.1 --- a/lemon/circulation.h Thu Aug 20 22:52:16 2009 +0200
1.2 +++ b/lemon/circulation.h Mon Aug 31 07:12:58 2009 +0200
1.3 @@ -450,19 +450,21 @@
1.4 return *_level;
1.5 }
1.6
1.7 - /// \brief Sets the tolerance used by algorithm.
1.8 + /// \brief Sets the tolerance used by the algorithm.
1.9 ///
1.10 - /// Sets the tolerance used by algorithm.
1.11 - Circulation& tolerance(const Tolerance& tolerance) const {
1.12 + /// Sets the tolerance object used by the algorithm.
1.13 + /// \return <tt>(*this)</tt>
1.14 + Circulation& tolerance(const Tolerance& tolerance) {
1.15 _tol = tolerance;
1.16 return *this;
1.17 }
1.18
1.19 /// \brief Returns a const reference to the tolerance.
1.20 ///
1.21 - /// Returns a const reference to the tolerance.
1.22 + /// Returns a const reference to the tolerance object used by
1.23 + /// the algorithm.
1.24 const Tolerance& tolerance() const {
1.25 - return tolerance;
1.26 + return _tol;
1.27 }
1.28
1.29 /// \name Execution Control