id summary reporter owner description type status milestone component version severity resolution keywords cc 134 uniform_int should receive specific type nobody jmaurer "{{{ In random_number_generator, a call is made to uniform_int(_rng, 0, n-1)(). Inside the uniform_int constructor, a test is performed for assert(min < max). If the IntType specified for random_number_generator is unsigned long (one of the ones from mersenne_twister, for example), and a full range random number is being requested, then this assert will always fail, since the unsigned long max() will (normally) turn into int(-1). The fix is to ensure that the IntType specified in the instantiation of random_number_generator is propagated to uniform_int. phil }}}" Bugs closed random None Fixed