[Rivet-svn] rivet: Typo fix

Rivet Mercurial rivet at projects.hepforge.org
Tue Jul 26 09:00:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/623dadc2c5af
branches:  release-2-5-x
changeset: 5352:623dadc2c5af
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Jul 26 08:59:21 2016 +0100
description:
Typo fix

diffs (11 lines):

--- a/include/Rivet/Tools/Utils.hh	Mon Jul 25 21:57:22 2016 +0100
+++ b/include/Rivet/Tools/Utils.hh	Tue Jul 26 08:59:21 2016 +0100
@@ -210,7 +210,7 @@
   inline T sum(const CONTAINER& c, const FN& f, const T& start=T()) {
     T rtn = start;
     for (const auto& x : c)
-      rtn += fn(x);
+      rtn += f(x);
     return rtn;
   }
 


More information about the Rivet-svn mailing list