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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Mar 23 22:15:58 GMT 2010


Author: buckley
Date: Tue Mar 23 22:15:56 2010
New Revision: 2356

Log:
Tiny cosmetic tweak

Modified:
   trunk/src/Core/AnalysisHandler.cc

Modified: trunk/src/Core/AnalysisHandler.cc
==============================================================================
--- trunk/src/Core/AnalysisHandler.cc	Tue Mar 23 12:59:58 2010	(r2355)
+++ trunk/src/Core/AnalysisHandler.cc	Tue Mar 23 22:15:56 2010	(r2356)
@@ -227,9 +227,9 @@
         
         // Weird seg fault on SLC4 when trying to dyn cast an IProfile ptr to a IHistogram
         // Fix by attempting to cast to IProfile first, only try IHistogram if it fails.
-        IHistogram1D *histo = 0;
+        IHistogram1D* histo = 0;
         IProfile1D* prof = dynamic_cast<IProfile1D*>(hobj);
-        if(!prof) histo = dynamic_cast<IHistogram1D*>(hobj);
+        if (!prof) histo = dynamic_cast<IHistogram1D*>(hobj);
         
         // If it's a normal histo:
         if (histo) {


More information about the Rivet-svn mailing list