Ignore:
Timestamp:
May 9, 2008, 9:42:31 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Fixes #361

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4-stable/yat/statistics/AveragerPair.cc

    r1275 r1291  
    44  Copyright (C) 2004, 2005 Jari Häkkinen, Peter Johansson
    55  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    6   Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    7   Copyright (C) 2008 Peter Johansson
     6  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    87
    98  This file is part of the yat library, http://trac.thep.lu.se/yat
     
    4544  }
    4645
    47   void AveragerPair::add(const double x, const double y, const unsigned long n)
     46  void AveragerPair::add(const double x, const double y, const long n)
    4847  {
    4948    x_.add(x,n); y_.add(y,n); xy_ += n*x*y;
     
    7675  }
    7776
    78   unsigned long AveragerPair::n(void) const
     77  long AveragerPair::n(void) const
    7978  {
    8079    return x_.n();
Note: See TracChangeset for help on using the changeset viewer.