|
| From: | Markus Mützel |
| Subject: | [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails |
| Date: | Wed, 22 Jul 2020 16:00:30 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 Edg/84.0.522.40 |
Follow-up Comment #3, bug #58800 (project octave):
I can't reproduce the bug here. If I call "test rng" in a loop all 20 tests
pass each time.
I'm not an expert in that field. And I don't know if it is important that the
seed is different each time the rng is shuffled (or the state or seed of
"rand" is reset). Maybe a short pause in the BIST is good enough.
The documentation of rand contains this:
> The state or seed of the generator can be reset to a new random value using
the @qcode{"reset"} keyword.
The word "new" sounds to me like the seed should be different after
consecutive calls.
If I recall correctly, Rik was working on the rng in the past.
@Rik: Could you please comment on whether it is worth diving deeper into this?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58800>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |