[ https://issues.apache.org/jira/browse/MATH-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz resolved MATH-723. ------------------------------ Resolution: Fixed Fixed in r1213087. > BitStreamGenerators (MersenneTwister, Well generators) do not clear normal > deviate cache on setSeed > --------------------------------------------------------------------------------------------------- > > Key: MATH-723 > URL: https://issues.apache.org/jira/browse/MATH-723 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.0, 2.1, 2.2 > Reporter: Phil Steitz > Assignee: Phil Steitz > Fix For: 3.0 > > > The BitStream generators generate normal deviates (for nextGaussian) in > pairs, caching the last value generated. When reseeded, the cache should be > cleared; otherwise seeding two generators with the same value is not > guaranteed to generate the same sequence. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira