Error in random_generator removed.

This commit is contained in:
mac 2000-09-20 13:32:28 +00:00
commit f1ec21e724

View file

@ -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;