Skip to content

Change CPU random number generator from default_random_engine to mt19937 #1170

@shehzan10

Description

@shehzan10

The default_random_engine is an implementation based engine. In our tests we found that the first element generated by this is always a multiple of the seed (seed x 0.0000078259).

Changing this to mt19937 fixes this issue and makes it consistent across implementations.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions