[Rivet-svn] r3431 - branches/2011-07-aida2yoda/src/Core

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Oct 6 22:37:20 BST 2011


Author: hoeth
Date: Thu Oct  6 22:37:20 2011
New Revision: 3431

Log:
merge r3410 from trunk

Modified:
   branches/2011-07-aida2yoda/src/Core/Analysis.cc

Modified: branches/2011-07-aida2yoda/src/Core/Analysis.cc
==============================================================================
--- branches/2011-07-aida2yoda/src/Core/Analysis.cc	Thu Oct  6 22:35:14 2011	(r3430)
+++ branches/2011-07-aida2yoda/src/Core/Analysis.cc	Thu Oct  6 22:37:20 2011	(r3431)
@@ -147,7 +147,7 @@
 
   double Analysis::crossSectionPerEvent() const {
     const double sumW = sumOfWeights();
-    assert(sumW > 0);
+    assert(sumW != 0.0);
     return _crossSection / sumW;
   }
 


More information about the Rivet-svn mailing list