From 8b834d9fe450f326a944984e1373a3d23d45e391 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Mon, 28 Sep 2020 11:51:18 +0100 Subject: [PATCH] C++ism creeping in --- tests/unit_tests/test_math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/test_math.py b/tests/unit_tests/test_math.py index 935c00579f..179b63e69f 100644 --- a/tests/unit_tests/test_math.py +++ b/tests/unit_tests/test_math.py @@ -224,7 +224,7 @@ def test_normal_dist(): for i in range(num_samples): # sample the normal distribution from openmc samples.append(openmc.lib.math.normal_variate(a, b, prn_seed) - prn_seed += 1 + prn_seed = prn_seed + 1 stat,p = shaprio(samples) assert stat > 0.97