Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !742

Fix the random number generator

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Folkert Nobels requested to merge correlation into master Feb 20, 2019
  • Overview 30
  • Commits 36
  • Changes 3

As discussed in issue #545 (closed) the random number generator is Swift is currently poor. In this merge request I basically aim at solving the issue with correlated random numbers and make the random numbers uncorrelated and added two tests:

  1. First test checks if the random numbers are correlated in time.
  2. Second test checks if the random numbers are correlated in adjacent IDs at fixed times.

Let me know what you think of the code. I will do some final testing on the isolated galaxy to make sure everything works.

Edited Feb 28, 2019 by Matthieu Schaller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: correlation