[Rivet-svn] rivet: fix tests for new multiweight cross sections

Rivet Mercurial rivet at projects.hepforge.org
Fri Oct 27 10:00:01 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/9abd10ae33f7
branches:  multiweight
changeset: 6113:9abd10ae33f7
user:      Chris Pollard <cspollard at gmail.com>
date:      Fri Oct 27 10:50:41 2017 +0200
description:
fix tests for new multiweight cross sections

diffs (24 lines):

--- a/test/testApi.cc	Fri Oct 27 10:44:29 2017 +0200
+++ b/test/testApi.cc	Fri Oct 27 10:50:41 2017 +0200
@@ -32,8 +32,8 @@
   }
   file.close();
 
-  ah.setCrossSection(1.0);
-  
+  ah.setCrossSection(1.0, 0.1);
+
   ah.finalize();
   ah.writeData("out.yoda");
 
--- a/test/testNaN.cc	Fri Oct 27 10:44:29 2017 +0200
+++ b/test/testNaN.cc	Fri Oct 27 10:50:41 2017 +0200
@@ -75,7 +75,7 @@
   }
   file.close();
 
-  rivet.setCrossSection(1.0);
+  rivet.setCrossSection(1.0, 0.1);
   rivet.finalize();
   rivet.writeData("NaN.aida");
 


More information about the Rivet-svn mailing list