[Rivet-svn] rivet: Fix testApi to remove explicit weight setting

Rivet Mercurial rivet at projects.hepforge.org
Tue Dec 12 09:30:02 GMT 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/9825ac7c707f
branches:  
changeset: 6169:9825ac7c707f
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Dec 12 09:23:23 2017 +0000
description:
Fix testApi to remove explicit weight setting

diffs (10 lines):

--- a/test/testApi.cc	Mon Dec 11 11:16:06 2017 +0000
+++ b/test/testApi.cc	Tue Dec 12 09:23:23 2017 +0000
@@ -28,7 +28,6 @@
   file.close();
 
   ah.setCrossSection(1.0);
-  ah.setSumOfWeights(sum_of_weights); ///< Not necessary, but allowed
   ah.finalize();
   ah.writeData("out.yoda");
 


More information about the Rivet-svn mailing list