For real fix unassigned energy in SCORE_PROMPT

This commit is contained in:
Sterling Harper 2016-08-02 08:37:16 -05:00
parent dce068d777
commit 13da37de4b

View file

@ -471,16 +471,17 @@ contains
end if
else
! make sure the correct energy is used
if (t % estimator == ESTIMATOR_TRACKLENGTH) then
E = p % E
else
E = p % last_E
end if
if (i_nuclide > 0) then
score = micro_xs(i_nuclide) % fission * nuclides(i_nuclide) % &
nu(E, EMISSION_PROMPT) * atom_density * flux
else
! make sure the correct energy is used
if (t % estimator == ESTIMATOR_TRACKLENGTH) then
E = p % E
else
E = p % last_E
end if
score = ZERO