commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-723) BitStreamGenerators (MersenneTwister, Well generators) do not clear normal deviate cache on setSeed
Date Sun, 11 Dec 2011 21:04:40 GMT
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.2, 2.1, 2.0
            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

        

Mime
View raw message