Closed GoogleCodeExporter closed 9 years ago
It's been broken since 3.1.1, at leaast.
Original comment by thomasoa
on 19 Feb 2010 at 5:40
Okay, this bug goes all the way back to Deal 3.0.8, before I had the code in
Google
Code. Will have to look deeply into this.
Original comment by thomasoa
on 23 Feb 2010 at 6:34
Works on Linux, so it might be an OS X issue.
Original comment by thomasoa
on 23 Feb 2010 at 9:13
Original comment by thomasoa
on 23 Feb 2010 at 9:13
Okay, I've narrowed it down to a problem in the random number generator in
random.c,
which I copied from elsewhere. It is now returning negative values, which it
is not
supposed to do (and which it doesn't do on Linux.)
Original comment by thomasoa
on 23 Feb 2010 at 11:19
Fixed in deal.h and tcl_deal.c by redeclaring __random() to return long rather
than
int type.
Original comment by thomasoa
on 23 Feb 2010 at 11:56
Original comment by thomasoa
on 24 Feb 2010 at 4:12
Original issue reported on code.google.com by
thomasoa
on 19 Feb 2010 at 5:20