Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blocks/sources/uniformrandom: fix seed initialization
The initialisation of the random seed has been moved from UniformRandomSource:initialize() to UniformRandomSource:process() in order to fix the problem of math.random() generating the same sequence in all the processes when the math.randomseed() action is done before process forking. Signed-off-by: Vanya A. Sergeev <v@sergeev.io>
- Loading branch information