From d3e2d36fc8353fb2ca394778f47ffc6e2b29641c Mon Sep 17 00:00:00 2001 From: John Tramm Date: Fri, 22 Nov 2019 19:47:19 +0000 Subject: [PATCH] fixed normal variate unit test --- openmc/lib/math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/lib/math.py b/openmc/lib/math.py index d9e6845e5..d836ce491 100644 --- a/openmc/lib/math.py +++ b/openmc/lib/math.py @@ -295,7 +295,7 @@ def normal_variate(mean_value, std_dev, prn_seeds, stream): prn_seeds_arr = np.array(prn_seeds, dtype=np.uint64) - return _dll.normal_variate(mean_value, std_dev, prn_seeds, stream) + return _dll.normal_variate(mean_value, std_dev, prn_seeds_arr, stream) def broaden_wmp_polynomials(E, dopp, n):