From 45dc955be6f7f30fa5cba8a1d9437a53147da79d Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 18 Aug 2020 22:02:40 -0500 Subject: [PATCH] Ensure replace_missing replaces neutron with nothing --- openmc/deplete/chain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openmc/deplete/chain.py b/openmc/deplete/chain.py index 8293273d47..d59c3a8ee4 100644 --- a/openmc/deplete/chain.py +++ b/openmc/deplete/chain.py @@ -147,9 +147,9 @@ def replace_missing(product, decay_data): Z, A, state = openmc.data.zam(product) symbol = openmc.data.ATOMIC_SYMBOL[Z] - # Replace neutron with proton - if Z == 0 and A == 1: - return 'H1' + # Replace neutron with nothing + if Z == 0: + return None # First check if ground state is available if state: