Skip to content

Random generators seems to be using a seed? #610

@FrancescAlted

Description

@FrancescAlted

I am exercising the random generators, and it is curious how two different executions seems to provide exactly the same answer (instead of a slight variation).

For example, in this notebook, we are getting the next values for pi in different runs:

PI value: 3.14161359878521
...
PI value: 3.14161359878521

whereas in its NumPy counterpart, I am getting slightly different values (as expected):

PI value: 3.1414493756232837
...
PI value: 3.1415529144704797

This is why I think that a seed is enforced somehow during the generation of random numbers in ironArray (and this should not happen). @aleixalcacer any hint?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions