[TGEN-3] binding *seed* does not change the basis Created: 13/Oct/12 Updated: 03/Feb/13 Resolved: 03/Feb/13
|Reporter:||Ben Smith-Mannschott||Assignee:||Stuart Halloway|
This is what I'm observing:
This is what I'm expecting:
The work-around is to bind *rnd* to a new java.util.Random constructed appropriately:
I'm not sure: Is this is a bug in the doc string of *seed*? Is the bug the very existence of *seed*? (*seed* is never used.) Should the doc-string for *rnd* suggest something like the code above as a way to get a consistent basis? Should generators provide a with-seed macro to do this for us?
|Comment by Stuart Halloway [ 03/Feb/13 7:13 AM ]|
this is fixed on master in the data.generators project