aboutsummaryrefslogtreecommitdiff
path: root/src/experimental/randomcmwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimental/randomcmwc.h')
-rw-r--r--src/experimental/randomcmwc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/experimental/randomcmwc.h b/src/experimental/randomcmwc.h
index 3a05383..747eb6a 100644
--- a/src/experimental/randomcmwc.h
+++ b/src/experimental/randomcmwc.h
@@ -7,19 +7,19 @@
7#ifndef BU_RANDOM_CMWC_H 7#ifndef BU_RANDOM_CMWC_H
8#define BU_RANDOM_CMWC_H 8#define BU_RANDOM_CMWC_H
9 9
10#include <stdint.h> 10#include "bu/randombase.h"
11 11
12namespace Bu 12namespace Bu
13{ 13{
14 class RandomCmwc 14 class RandomCmwc : public RandomBase
15 { 15 {
16 public: 16 public:
17 RandomCmwc(); 17 RandomCmwc();
18 virtual ~RandomCmwc(); 18 virtual ~RandomCmwc();
19 19
20 void seed( int32_t iSeed ); 20 virtual void seed( int32_t iSeed );
21 21
22 int32_t rand(); 22 virtual int32_t rand();
23 23
24 private: 24 private:
25 uint32_t *q, c; 25 uint32_t *q, c;