diff --git a/openmc/data/photon.py b/openmc/data/photon.py index 273234c36d..c73216b84d 100644 --- a/openmc/data/photon.py +++ b/openmc/data/photon.py @@ -735,7 +735,8 @@ class IncidentPhoton(EqualityMixin): shell_values.insert(0, None) df = relax.transitions[shell].replace( shell_values, range(len(shell_values))) - sub_group.create_dataset('transitions', data=df.values) + sub_group.create_dataset( + 'transitions', data=df.values.astype(float)) # Determine threshold threshold = rx.xs.x[0]