Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pygeodyn pygeodyn
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Geodynamo
  • pygeodynpygeodyn
  • Issues
  • #56
Closed
Open
Created Dec 06, 2018 by Loic Huder@huderl❄Owner

Seed arg is not working

The seed command line is not working as intended: it does not allow to perform reproducible stochastic processes.

The reason is that seed is used to initialise the RandomState from Numpy but this RandomState is not used to draw random values. Random values are indeed drawn using np.random that generate a new RandomState each time. A way to solve this would be to propagate the RandomState that was initialised with seed to use it for random draws.

Assignee
Assign to
Time tracking