Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Seeding numba functions #112

Open
petergaemers opened this issue Mar 12, 2021 · 0 comments
Open

Seeding numba functions #112

petergaemers opened this issue Mar 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@petergaemers
Copy link
Collaborator

petergaemers commented Mar 12, 2021

There are a few numba'd functions which use random numbers like luminescene timings and the add_noise.
When setting a seed for the random number generator this is NOT applied to the numba'd random generator

So we need to fix this. This shouldn't be hard, something like pass the seed as a argument to the relevant functions. But make sure to only seed once

Something like this:
numba/numba#3249

@JoranAngevaare JoranAngevaare added the bug Something isn't working label May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants