mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Comment explaining special case in get_decay_modes
This commit is contained in:
parent
fa76ae54d1
commit
99cb54bf8e
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ def get_decay_modes(value):
|
|||
|
||||
"""
|
||||
if int(value) == 10:
|
||||
# The logic below would treat 10.0 as [1, 0] rather than [10] as it
|
||||
# should, so we handle this case separately
|
||||
return ['unknown']
|
||||
else:
|
||||
return [_DECAY_MODES[int(x)][0] for x in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue