COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/circulation.h

    r641 r689  
    451451    }
    452452
    453     /// \brief Sets the tolerance used by algorithm.
    454     ///
    455     /// Sets the tolerance used by algorithm.
    456     Circulation& tolerance(const Tolerance& tolerance) const {
     453    /// \brief Sets the tolerance used by the algorithm.
     454    ///
     455    /// Sets the tolerance object used by the algorithm.
     456    /// \return <tt>(*this)</tt>
     457    Circulation& tolerance(const Tolerance& tolerance) {
    457458      _tol = tolerance;
    458459      return *this;
     
    461462    /// \brief Returns a const reference to the tolerance.
    462463    ///
    463     /// Returns a const reference to the tolerance.
     464    /// Returns a const reference to the tolerance object used by
     465    /// the algorithm.
    464466    const Tolerance& tolerance() const {
    465       return tolerance;
     467      return _tol;
    466468    }
    467469
Note: See TracChangeset for help on using the changeset viewer.