bugMCSim simulation sofware - Bugs: bug #51863, using SetSeed does not force a...

 
 

bug #51863: using SetSeed does not force a resetting of the NormalRandom accumulator

Submitted by:  Frederic Yves Bois <fredomatic>
Submitted on:  Sun 27 Aug 2017 08:31:03 AM UTC  
 
Category: SimSeverity: 2 - Minor
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Frederic Yves Bois <fredomatic>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 27 Aug 2017 08:31:03 AM UTC, original submission:

RandomNormal computes two variates at once, returns one and stores the other for next call. A local static flag is used to switch between a computing step and a spitting step. This flag should be reset when SetSeed is called, otherwise an old variate might be used.
This is a small bug, arising only in some very restricted conditions.

Frederic Yves Bois <fredomatic>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fredomatic (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Aug 2017 08:34:58 AM UTCfredomaticOpen/ClosedOpen=>Closed
    Sun 27 Aug 2017 08:34:36 AM UTCfredomaticStatusConfirmed=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1