Error in random_generator removed.
This commit is contained in:
parent
f7c157c154
commit
f1ec21e724
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ template <class T = uint32> class random_generator
|
|||
public :
|
||||
random_generator(T _max, eoRng& _rng = rng) : maxim(_max), random(_rng) {}
|
||||
|
||||
T operator()(void) { return (T) random.random(max); }
|
||||
T operator()(void) { return (T) random.random(maxim); }
|
||||
|
||||
private :
|
||||
T maxim;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue