We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fadb87c commit 2ab47b5Copy full SHA for 2ab47b5
sgkit/stats/genedrop_numba_fns.py
@@ -5,6 +5,11 @@
5
6
from .pedigree import _compress_hamilton_kerr_parameters, topological_argsort
7
8
+# NOTE: The use of `np.random.seed()` within numba compiled functions should not
9
+# affect numpy RNG. The numba implementation is thread safe (since version 0.28.0)
10
+# and each thread/process will produce an independent stream of random numbers.
11
+# See https://numba.pydata.org/numba-doc/dev/reference/numpysupported.html#random.
12
+
13
14
@numba_guvectorize( # type: ignore
15
[
0 commit comments