X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=simul.h;h=07c1c65ec8d243b147bc70150b3e50fc381824c4;hb=c729fa33c6e2f9e3e1b374c66a55265525e7d974;hp=ba105dbde965dfadb1deeaeb7def93e3357cbb9b;hpb=f054dfb3f9bb35d4043534ea88e1f5fa8e7eb2ea;p=rsem.git diff --git a/simul.h b/simul.h index ba105db..07c1c65 100644 --- a/simul.h +++ b/simul.h @@ -1,7 +1,6 @@ #ifndef SIMUL_H_ #define SIMUL_H_ -#include #include #include "boost/random.hpp" @@ -9,7 +8,7 @@ class simul { public: - simul() : rg(boost::mt19937(time(NULL))) { + simul(unsigned int seed) : rg(boost::mt19937(seed)) { } // interval : [,)