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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Jul 3 23:59:05 BST 2012


Author: hoeth
Date: Tue Jul  3 23:59:05 2012
New Revision: 3805

Log:
fix compiler warning in ATLAS_2012_I1091481

Modified:
   trunk/src/Analyses/ATLAS_2012_I1091481.cc

Modified: trunk/src/Analyses/ATLAS_2012_I1091481.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2012_I1091481.cc	Tue Jul  3 23:15:42 2012	(r3804)
+++ trunk/src/Analyses/ATLAS_2012_I1091481.cc	Tue Jul  3 23:59:05 2012	(r3805)
@@ -117,7 +117,7 @@
 
 
     void fillS(Histo1DPtr h, const ParticleVector& part, double weight, std::vector<double> Xj, bool SE=true) {
-      for (int i=0; i< h->numBins(); i++) {
+      for (size_t i=0; i< h->numBins(); i++) {
         double x = h->bin(i).midpoint();
         double y;
         if (SE) y = getSE(part, Xj, x);


More information about the Rivet-svn mailing list