diff --git a/tests/unit_tests/test_math.py b/tests/unit_tests/test_math.py index 179b63e69f..091cc4f4b7 100644 --- a/tests/unit_tests/test_math.py +++ b/tests/unit_tests/test_math.py @@ -223,8 +223,8 @@ def test_normal_dist(): # sample some numbers 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 = prn_seed + 1 + samples.append(openmc.lib.math.normal_variate(a, b, prn_seed)) + prn_seed += 1 stat,p = shaprio(samples) assert stat > 0.97