[Rivet-svn] r3536 - in trunk: . include/Rivet

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jan 11 10:55:14 GMT 2012


Author: buckley
Date: Wed Jan 11 10:55:13 2012
New Revision: 3536

Log:
Removing references to Boost random numbers

Modified:
   trunk/ChangeLog
   trunk/include/Rivet/RivetBoost.hh

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Sat Dec 31 14:08:14 2011	(r3535)
+++ trunk/ChangeLog	Wed Jan 11 10:55:13 2012	(r3536)
@@ -1,3 +1,7 @@
+2012-01-11  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Removing references to Boost random numbers.
+
 2011-12-30  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Adding a placeholder rivet-which script (not currently

Modified: trunk/include/Rivet/RivetBoost.hh
==============================================================================
--- trunk/include/Rivet/RivetBoost.hh	Sat Dec 31 14:08:14 2011	(r3535)
+++ trunk/include/Rivet/RivetBoost.hh	Wed Jan 11 10:55:13 2012	(r3536)
@@ -8,7 +8,7 @@
 #include "boost/foreach.hpp"
 #define foreach BOOST_FOREACH
 
-#include <boost/random.hpp>
+//#include <boost/random.hpp>
 #include <boost/algorithm/string.hpp>
 
 namespace Rivet {
@@ -28,11 +28,11 @@
   using namespace boost;
 
   // Random numbers
-  typedef boost::minstd_rand RngBase;
-  typedef boost::uniform_real<> UniformRealDist;
-  typedef boost::variate_generator<RngBase&, UniformRealDist> UniformRealRNG;
-  typedef boost::uniform_int<> UniformIntDist;
-  typedef boost::variate_generator<RngBase&, UniformIntDist> UniformIntRNG;
+  // typedef boost::minstd_rand RngBase;
+  // typedef boost::uniform_real<> UniformRealDist;
+  // typedef boost::variate_generator<RngBase&, UniformRealDist> UniformRealRNG;
+  // typedef boost::uniform_int<> UniformIntDist;
+  // typedef boost::variate_generator<RngBase&, UniformIntDist> UniformIntRNG;
 
 
 }


More information about the Rivet-svn mailing list