aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/likelihood.h')
-rw-r--r--src/likelihood.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/likelihood.h b/src/likelihood.h
index f016b53..f5adf2f 100644
--- a/src/likelihood.h
+++ b/src/likelihood.h
@@ -4,6 +4,8 @@
#include "event.h"
#include <stddef.h> /* for size_t */
+/* To avoid having to allocate new arrays every time we evaluate the likelihood
+ * function, we just allocate static arrays with `MAX_POINTS` elements. */
#define MAX_NPOINTS 1000
/* Maximum number of PE to consider if the PMT was hit. */