mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
I'dve sworn python could do this
This commit is contained in:
parent
a7c7c9b91c
commit
1b9fae9003
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue