Re-added the original constructor with the seed. Very useful for using custom static generators.

This commit is contained in:
Paolo Cignoni 2008-11-27 21:04:17 +00:00
parent 3cbdda3232
commit 13e5060688
1 changed files with 2 additions and 2 deletions

View File

@ -80,9 +80,9 @@ private:
public:
// ctor
SubtractiveRingRNG()
SubtractiveRingRNG(int default_seed=161803398u)
{
initialize(161803398u);
initialize(default_seed);
}