Skip to content

fix erroneous constant in Well19937c.next() #158

Closed
@schmouk

Description

@schmouk
    z2 = BaseWELL._M2_pos(self._state[(i + 179) % 624], 19) ^ BaseWELL._M3_pos(self._state[(i + 449) % 624], 1)

--> 19 should be 9

Put _ as a separator in the last two constants used at return time, as well.

Metadata

Metadata

Assignees

Labels

bugA bug to be fixed

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions