[Rivet-svn] r4265 - trunk/src/Core

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri May 3 11:09:42 BST 2013


Author: dgrell
Date: Fri May  3 11:09:42 2013
New Revision: 4265

Log:
Removed hard assert in finalize(). It is possible to get there without initialization if the first event is never produced.

Modified:
   trunk/src/Core/AnalysisHandler.cc

Modified: trunk/src/Core/AnalysisHandler.cc
==============================================================================
--- trunk/src/Core/AnalysisHandler.cc	Thu May  2 08:51:06 2013	(r4264)
+++ trunk/src/Core/AnalysisHandler.cc	Fri May  3 11:09:42 2013	(r4265)
@@ -136,7 +136,7 @@
 
 
   void AnalysisHandler::finalize() {
-    assert(_initialised);
+    if (!_initialised) return;
     MSG_INFO("Finalising analyses");
     foreach (AnaHandle a, _analyses) {
       try {


More information about the Rivet-svn mailing list