Der neue Dienst "GitLab am KIT" ist unter gitlab.kit.edu erreichbar.

Skip to content
  • we7765's avatar
    libtf [FEATURE]: change seeding mechanism of random number generator · 5848b8bb
    we7765 authored
    The GSL random number generators were seeded with the value of the wall clock
    second. When requeting several sequences of random numbers, they turned out to
    be identical, because each time the random number generator got seeded with
    the same value.
    
    The new version accepts seed values set through the environment variable
    GSL_RNG_SEED and, if not set, uses the nanosecond value of the wall clock
    together with the seconds to ensure different seed for different calls to the
    functions.
    5848b8bb