[Rivet-svn] r3229 - trunk/include/LWH

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jul 20 19:22:38 BST 2011


Author: jmonk
Date: Wed Jul 20 19:22:37 2011
New Revision: 3229

Log:
fixed bug in 2D variable bins histo

Modified:
   trunk/include/LWH/Histogram2D.h

Modified: trunk/include/LWH/Histogram2D.h
==============================================================================
--- trunk/include/LWH/Histogram2D.h	Wed Jul 20 00:38:36 2011	(r3228)
+++ trunk/include/LWH/Histogram2D.h	Wed Jul 20 19:22:37 2011	(r3229)
@@ -59,7 +59,7 @@
     Histogram2D(const std::vector<double> & xedges,
                 const std::vector<double> & yedges)
       : xfax(0), xvax(new VariAxis(xedges)),
-        yfax(0), yvax(new VariAxis(xedges)),
+        yfax(0), yvax(new VariAxis(yedges)),
         sum(xedges.size() + 1, std::vector<int>(yedges.size() + 1)),
         sumw(xedges.size() + 1, std::vector<double>(yedges.size() + 1)),
         sumw2(xedges.size() + 1, std::vector<double>(yedges.size() + 1)),


More information about the Rivet-svn mailing list