mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Test against flat array now that the attribute is shaped
This commit is contained in:
parent
c3997b3fbd
commit
a29134ef43
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ def test_wwinp_reader(wwinp_data, request):
|
|||
# a reversed array of the flat index into the numpy array
|
||||
n_wws = np.prod((*mesh.dimension, e_bounds.size - 1))
|
||||
exp_ww_lb = np.linspace(1, n_wws, n_wws)[::-1]
|
||||
np.testing.assert_array_equal(exp_ww_lb, ww.lower_ww_bounds)
|
||||
np.testing.assert_array_equal(exp_ww_lb, ww.lower_ww_bounds.flatten())
|
||||
|
||||
|
||||
# check expected failures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue