9 Jan
2006
9 Jan
'06
6:21 p.m.
On 10/01/06, Giulio Veronesi
wrote: Hi all, I've a problem with random number generator. Let us consider the following code fragment:
long int s = 123456; mt19937 rnd_gen(s);
AFAIK it is picky about about the seed type. Try using boost::mt19937::result_type instead of long int. matt.