mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Updates to attribute name
This commit is contained in:
parent
61bce00f08
commit
176b1a09a3
2 changed files with 2 additions and 2 deletions
|
|
@ -585,7 +585,7 @@ def wwinp_to_wws(path):
|
|||
mesh=mesh,
|
||||
lower_ww_bounds=ww_lb.flatten(),
|
||||
upper_bound_ratio=5.0,
|
||||
energy_bins=e_bounds,
|
||||
energy_bounds=e_bounds,
|
||||
particle_type=particle)
|
||||
wws.append(ww)
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ def test_wwinp_reader(wwinp_data):
|
|||
np.testing.assert_allclose(mesh.z_grid, ww.mesh.z_grid, rtol=1e-6)
|
||||
|
||||
# check the energy bounds
|
||||
np.testing.assert_array_equal(e_bounds, ww.energy_bins)
|
||||
np.testing.assert_array_equal(e_bounds, ww.energy_bounds)
|
||||
|
||||
# check the expected weight window values mocked in the file --
|
||||
# a reversed array of the flat index into the numpy array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue