corrected arg type to material

This commit is contained in:
shimwell 2022-03-03 19:14:00 +00:00
parent 504d58f045
commit 130b3a2dc6

View file

@ -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)