mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
fixed issue with statepoint.py modifying delayed-nu-fission score
This commit is contained in:
parent
4e75a2e15c
commit
37c4d9fa89
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ class StatePoint(object):
|
|||
for j, score in enumerate(scores):
|
||||
score = score.decode()
|
||||
# If this is a scattering moment, insert the scattering order
|
||||
if '-n' in score:
|
||||
if '-n' in score and 'delayed' not in score:
|
||||
score = score.replace('-n', '-' + moments[j].decode())
|
||||
elif '-pn' in score:
|
||||
score = score.replace('-pn', '-' + moments[j].decode())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue