mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Probably the final fix for unit tests
This commit is contained in:
parent
84e351f153
commit
7d3dcfedc0
2 changed files with 7 additions and 7 deletions
|
|
@ -154,7 +154,7 @@ def test_calc_zn_rad():
|
|||
|
||||
def test_rotate_angle():
|
||||
uvw0 = np.array([1., 0., 0.])
|
||||
phi = [0.]
|
||||
phi = 0.
|
||||
mu = 0.
|
||||
prn_seeds = [1, 2, 3, 4, 5, 6]
|
||||
stream = 0
|
||||
|
|
@ -176,7 +176,7 @@ def test_rotate_angle():
|
|||
|
||||
# Now to test phi is None
|
||||
mu = 0.9
|
||||
phi = []
|
||||
phi = None
|
||||
|
||||
# When seed = 1, phi will be sampled as 1.9116495709698769
|
||||
# The resultant reference is from hand-calculations given the above
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue