diff options
Diffstat (limited to 'src/likelihood.c')
-rw-r--r-- | src/likelihood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/likelihood.c b/src/likelihood.c index f0430cf..c53e1fc 100644 --- a/src/likelihood.c +++ b/src/likelihood.c @@ -107,7 +107,7 @@ particle *particle_init(int id, double T0, size_t n) * range here using the dE/dx table instead of reading in the range. */ p->T[n-1] = 0; - p->shower_photons = rad*ELECTRON_PHOTONS_PER_MEV; + p->shower_photons = electron_get_shower_photons(T0, rad); break; case IDP_MU_MINUS: |