mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
corrected arg type to material
This commit is contained in:
parent
504d58f045
commit
130b3a2dc6
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ def test_activation(run_in_tmpdir, model, reaction_rate_mode, reaction_rate_opts
|
|||
|
||||
# Get resulting number of atoms
|
||||
results = openmc.deplete.ResultsList.from_hdf5('depletion_results.h5')
|
||||
_, atoms = results.get_atoms(w.id, "W186")
|
||||
_, atoms = results.get_atoms(w, "W186")
|
||||
|
||||
assert atoms[0] == pytest.approx(n0)
|
||||
assert atoms[1] / atoms[0] == pytest.approx(0.5, rel=tolerance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue