|
[Rivet-svn] r1739 - trunk/include/LWHblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Aug 4 16:56:34 BST 2009
Author: fsiegert Date: Tue Aug 4 16:56:34 2009 New Revision: 1739 Log: Bugfix in recently changed histogram division. Modified: trunk/include/LWH/HistogramFactory.h Modified: trunk/include/LWH/HistogramFactory.h ============================================================================== --- trunk/include/LWH/HistogramFactory.h Mon Aug 3 15:57:20 2009 (r1738) +++ trunk/include/LWH/HistogramFactory.h Tue Aug 4 16:56:34 2009 (r1739) @@ -643,7 +643,7 @@ x->setErrorMinus(binwidth/2.0); double yval(0), yerrup(0), yerrdown(0); - if ( h2.sum[i] == 0 || h2.sumw[i] == 0.0 ) { + if ( h2.binHeight(j) == 0 ) { /// @todo Bad way of handling div by zero! yval = 0.0; yerrup = 0.0;
More information about the Rivet-svn mailing list |