Changeset 2064


Ignore:
Timestamp:
Sep 16, 2009, 7:19:09 PM (14 years ago)
Author:
Peter
Message:

passing by reference

Location:
trunk/yat/statistics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/KolmogorovSmirnov.cc

    r2014 r2064  
    196196
    197197  bool KolmogorovSmirnov::Element::operator<
    198   (const KolmogorovSmirnov::Element rhs) const
     198  (const KolmogorovSmirnov::Element& rhs) const
    199199  {
    200200    return value<rhs.value;
  • trunk/yat/statistics/KolmogorovSmirnov.h

    r2055 r2064  
    7777         \return true if value is less than rhs.value
    7878       */
    79       bool operator<(const Element rhs) const;
     79      bool operator<(const Element& rhs) const;
    8080    };
    8181
Note: See TracChangeset for help on using the changeset viewer.