From 27035468a991cec8fd00466e2346f150101da756 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 19 Apr 2024 12:31:03 +0200 Subject: [PATCH] Revert sampling default values --- radionets/evaluation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radionets/evaluation/utils.py b/radionets/evaluation/utils.py index 4d43b306..e8ea7045 100644 --- a/radionets/evaluation/utils.py +++ b/radionets/evaluation/utils.py @@ -510,7 +510,7 @@ def tn_numba_vec_parallel(mu, sig, a, b): return rv -def trunc_rvs(mu, sig, num_samples, mode, target="parallel", nthreads=20): +def trunc_rvs(mu, sig, num_samples, mode, target="cpu", nthreads=1): if mode == "amp": a = 0 b = np.inf