|
[yoda-svn] r487 - trunk/include/YODAblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Jul 4 00:35:21 BST 2012
Author: hoeth Date: Wed Jul 4 00:35:21 2012 New Revision: 487 Log: numeric fix Modified: trunk/include/YODA/Dbn1D.h Modified: trunk/include/YODA/Dbn1D.h ============================================================================== --- trunk/include/YODA/Dbn1D.h Tue Jul 3 14:29:15 2012 (r486) +++ trunk/include/YODA/Dbn1D.h Wed Jul 4 00:35:21 2012 (r487) @@ -147,7 +147,7 @@ /// Effective number of entries \f$ = (\sum w)^2 / \sum w^2 \f$ double effNumEntries() const { - if (isZero(_sumW2)) return 0; + if (_sumW2 == 0) return 0; return _sumW*_sumW / _sumW2; }
More information about the yoda-svn mailing list |