Ignore:
Timestamp:
May 12, 2008, 10:35:10 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Fixes #361. Averager and AveragerPair? accepts negative n for data removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AveragerPair.h

    r1275 r1295  
    77  Copyright (C) 2004, 2005 Jari Häkkinen, Peter Johansson
    88  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    9   Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    10   Copyright (C) 2008 Peter Johansson
     9  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    1110
    1211  This file is part of the yat library, http://trac.thep.lu.se/yat
     
    6968    /// Adding \a n pairs of data points with value \a x and \a y.
    7069    ///
    71     void add(const double x, const double y, const unsigned long n=1);
     70    void add(const double x, const double y, const long n=1);
    7271
    7372    /**
     
    111110    /// @return The number of pair of data points.
    112111    ///
    113     unsigned long n(void) const;
     112    long n(void) const;
    114113
    115114    ///
Note: See TracChangeset for help on using the changeset viewer.