diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 18:15:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 18:15:04 +0000 |
commit | 79843b51267d7a8faf8e9dcee09fa5e167373e6d (patch) | |
tree | cc317f202fa6b7b68908af9bee1848355681db78 /src/stable/randomcmwc.h | |
parent | ba177923d7b60800ae2e01f80fc10dc8ad1594bb (diff) | |
download | libbu++-79843b51267d7a8faf8e9dcee09fa5e167373e6d.tar.gz libbu++-79843b51267d7a8faf8e9dcee09fa5e167373e6d.tar.bz2 libbu++-79843b51267d7a8faf8e9dcee09fa5e167373e6d.tar.xz libbu++-79843b51267d7a8faf8e9dcee09fa5e167373e6d.zip |
Added seed parameter to constructor of two PRNGs. Also fixed horrible mistake
in RandomBasic.
Diffstat (limited to 'src/stable/randomcmwc.h')
-rw-r--r-- | src/stable/randomcmwc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stable/randomcmwc.h b/src/stable/randomcmwc.h index 547b5bb..50eb8c4 100644 --- a/src/stable/randomcmwc.h +++ b/src/stable/randomcmwc.h | |||
@@ -14,7 +14,7 @@ namespace Bu | |||
14 | class RandomCmwc : public RandomBase | 14 | class RandomCmwc : public RandomBase |
15 | { | 15 | { |
16 | public: | 16 | public: |
17 | RandomCmwc(); | 17 | RandomCmwc( int32_t iSeed=0 ); |
18 | virtual ~RandomCmwc(); | 18 | virtual ~RandomCmwc(); |
19 | 19 | ||
20 | virtual void seed( int32_t iSeed ); | 20 | virtual void seed( int32_t iSeed ); |