At Sat, 3 Jul 2010 19:19:45 +0100, Gareth Haslip wrote: > I think the line: > > j = gsl_rng_uniform_int (r, 16777216); /* sample from 2^24 */ > > should be j = gsl_rng_uniform_int (r, 16777216-1); /* sample from 2^24 */ > > as it crashes on 2^24 (exceeds upped limit for gsl_rng_uniform_int. >
Can you send an example program which shows the problem. Thank you. -- Brian Gough _______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
