diff --git a/openmc/deplete/r2s.py b/openmc/deplete/r2s.py index e04297d973..6c19531e7e 100644 --- a/openmc/deplete/r2s.py +++ b/openmc/deplete/r2s.py @@ -515,7 +515,7 @@ class R2SManager: raise IndexError( f'Photon time index {index} is out of range for ' f'{n_steps} depletion results') - normalized_index = index + n_steps if index < 0 else index + normalized_index = index % n_steps normalized_indices.append(normalized_index) # Remove duplicates while preserving order