diff options
Diffstat (limited to 'src/likelihood.c')
-rw-r--r-- | src/likelihood.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/likelihood.c b/src/likelihood.c index 3e20b7e..a7902c1 100644 --- a/src/likelihood.c +++ b/src/likelihood.c @@ -1101,10 +1101,7 @@ double nll(event *ev, vertex *v, size_t n, double dx, double dx_shower, int fast if (hit_only && !ev->pmt_hits[i].hit) continue; for (j = 0; j < n; j++) { - if (fast) - mu[i] += mu_direct[i][j] + mu_noise; - else - mu[i] += mu_direct[i][j] + mu_shower[i][j] + mu_indirect_total + mu_noise; + mu[i] += mu_direct[i][j] + mu_shower[i][j] + mu_indirect_total + mu_noise; } } |