Re-added the original constructor with the seed. Very useful for using custom static generators.
This commit is contained in:
parent
3cbdda3232
commit
13e5060688
|
@ -80,9 +80,9 @@ private:
|
|||
public:
|
||||
|
||||
// ctor
|
||||
SubtractiveRingRNG()
|
||||
SubtractiveRingRNG(int default_seed=161803398u)
|
||||
{
|
||||
initialize(161803398u);
|
||||
initialize(default_seed);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue