Update tally_scoring.cpp

Spacing `+ f * xs.value[i_grid-xs.threshold+1];`
This commit is contained in:
PullRequestOpen 2019-12-06 10:32:25 -06:00 committed by GitHub
parent c83b2766e2
commit 5ffe8d3881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,7 +259,7 @@ double get_nuclide_neutron_heating(const Particle* p, const Nuclide& nuc,
auto f = p->neutron_xs_[i_nuclide].interp_factor;
return (1.0 - f) * xs.value[i_grid-xs.threshold]
+ f * xs.value[i_grid-xs.threshold+1];
+ f * xs.value[i_grid-xs.threshold+1];
}
//! Helper function to obtain neutron heating [eV]