|
[Rivet-svn] r3503 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Dec 5 16:43:59 GMT 2011
Author: fsiegert Date: Mon Dec 5 16:43:59 2011 New Revision: 3503 Log: Try to fix build failure in Rivet-OSX32-HepMC-2.5 Modified: trunk/src/Analyses/OPAL_2004_S6132243.cc Modified: trunk/src/Analyses/OPAL_2004_S6132243.cc ============================================================================== --- trunk/src/Analyses/OPAL_2004_S6132243.cc Mon Dec 5 15:36:00 2011 (r3502) +++ trunk/src/Analyses/OPAL_2004_S6132243.cc Mon Dec 5 16:43:59 2011 (r3503) @@ -10,6 +10,7 @@ #include "Rivet/Projections/FastJets.hh" #include "Rivet/Projections/ParisiTensor.hh" #include "Rivet/Projections/Hemispheres.hh" +#include <cmath> namespace Rivet { @@ -164,7 +165,7 @@ // MSG_ERROR("NaN in HemiL! Event = " << numEvents()); // MSG_ERROR(hemi.M2low() << ", " << hemi.E2vis()); // } - if (!isnan(hemi_mh) && !isnan(hemi_ml)) { + if (!std::isnan(hemi_mh) && !std::isnan(hemi_ml)) { const double hemi_bmax = hemi.Bmax(); const double hemi_bmin = hemi.Bmin(); const double hemi_bsum = hemi.Bsum();
More information about the Rivet-svn mailing list |