From 2295579eb790d6eff6e54e84c01da6de10809a71 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 22 May 2012 16:57:15 +0000 Subject: Better win_o ignores. The random number system is pretty much together. We need a few extra helper functions to cover some other good things, like normalized floating point numbers, etc. --- src/experimental/randomcmwc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/experimental/randomcmwc.h') 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 @@ #ifndef BU_RANDOM_CMWC_H #define BU_RANDOM_CMWC_H -#include +#include "bu/randombase.h" namespace Bu { - class RandomCmwc + class RandomCmwc : public RandomBase { public: RandomCmwc(); virtual ~RandomCmwc(); - void seed( int32_t iSeed ); + virtual void seed( int32_t iSeed ); - int32_t rand(); + virtual int32_t rand(); private: uint32_t *q, c; -- cgit v1.2.3