[yoda-svn] r426 - trunk/include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Dec 8 15:32:35 GMT 2011


Author: hoeth
Date: Thu Dec  8 15:32:35 2011
New Revision: 426

Log:
Fixing typos in ProfileBin1D and ProfileBin2D

Modified:
   trunk/include/YODA/ProfileBin1D.h
   trunk/include/YODA/ProfileBin2D.h

Modified: trunk/include/YODA/ProfileBin1D.h
==============================================================================
--- trunk/include/YODA/ProfileBin1D.h	Thu Dec  8 15:02:13 2011	(r425)
+++ trunk/include/YODA/ProfileBin1D.h	Thu Dec  8 15:32:35 2011	(r426)
@@ -108,12 +108,12 @@
 
     /// The sum of y*weight
     double sumWY() const {
-      return _dbn.sumWX();
+      return _dbn.sumWY();
     }
 
     /// The sum of y^2 * weight
     double sumWY2() const {
-      return _dbn.sumWX2();
+      return _dbn.sumWY2();
     }
 
     //@}

Modified: trunk/include/YODA/ProfileBin2D.h
==============================================================================
--- trunk/include/YODA/ProfileBin2D.h	Thu Dec  8 15:02:13 2011	(r425)
+++ trunk/include/YODA/ProfileBin2D.h	Thu Dec  8 15:32:35 2011	(r426)
@@ -95,11 +95,11 @@
 
     /// The sum of z*weight
     double sumWZ() const {
-      return _dbn.sumWX();
+      return _dbn.sumWZ();
     }
 
     double sumWZ2() const {
-      return _dbn.sumWX2();
+      return _dbn.sumWZ2();
     }
 
     //@}


More information about the yoda-svn mailing list