aboutsummaryrefslogtreecommitdiff
path: root/src/stable/randomcmwc.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/randomcmwc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stable/randomcmwc.cpp b/src/stable/randomcmwc.cpp
index 1d4a913..b1c3cdb 100644
--- a/src/stable/randomcmwc.cpp
+++ b/src/stable/randomcmwc.cpp
@@ -11,11 +11,12 @@
11 11
12#define PHI 0x9e3779b9 12#define PHI 0x9e3779b9
13 13
14Bu::RandomCmwc::RandomCmwc() : 14Bu::RandomCmwc::RandomCmwc( int32_t iSeed ) :
15 q( 0 ), 15 q( 0 ),
16 c( 362436 ) 16 c( 362436 )
17{ 17{
18 q = new uint32_t[4096]; 18 q = new uint32_t[4096];
19 seed( iSeed );
19} 20}
20 21
21Bu::RandomCmwc::~RandomCmwc() 22Bu::RandomCmwc::~RandomCmwc()