I'dve sworn python could do this

This commit is contained in:
Andrew Davis 2020-09-28 13:46:15 +01:00 committed by Paul Romano
parent a7c7c9b91c
commit 1b9fae9003

View file

@ -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