[Rivet-svn] r3530 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Dec 14 09:52:47 GMT 2011


Author: fsiegert
Date: Wed Dec 14 09:52:47 2011
New Revision: 3530

Log:
Fix compiler warnings.

Modified:
   trunk/src/Analyses/ALEPH_1999_S4193598.cc

Modified: trunk/src/Analyses/ALEPH_1999_S4193598.cc
==============================================================================
--- trunk/src/Analyses/ALEPH_1999_S4193598.cc	Tue Dec 13 11:46:45 2011	(r3529)
+++ trunk/src/Analyses/ALEPH_1999_S4193598.cc	Wed Dec 14 09:52:47 2011	(r3530)
@@ -15,9 +15,9 @@
   if (decV->particles_out_size() == 2) {
     for (HepMC::GenVertex::particles_out_const_iterator pp = decV->particles_out_const_begin() ;
          pp != decV->particles_out_const_end() ; ++pp) {
-      decids.push_back(fabs((*pp)->pdg_id()));
+      decids.push_back(abs((*pp)->pdg_id()));
     }
-    if ( (decids[0] == fabs(id1) && decids[1] == fabs(id2)) || (decids[1] == fabs(id1) && decids[0] == fabs(id2)) ) decision = true;
+    if ( (decids[0] == abs(id1) && decids[1] == abs(id2)) || (decids[1] == abs(id1) && decids[0] == abs(id2)) ) decision = true;
 
   };
   return decision;


More information about the Rivet-svn mailing list