lemon/circulation.h
changeset 762 ece80147fb08
parent 760 4ac30454f1c1
parent 736 86c49553fea5
child 833 e20173729589
     1.1 --- a/lemon/circulation.h	Fri Jul 24 11:07:52 2009 +0200
     1.2 +++ b/lemon/circulation.h	Fri Sep 25 09:06:32 2009 +0200
     1.3 @@ -457,19 +457,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