From b52f09bd049aa122d0c15498de454555538b34f0 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sun, 25 Nov 2018 11:38:19 -0600 Subject: update likelihood to make sure we integrate over at least 100 points --- src/likelihood.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/likelihood.h') diff --git a/src/likelihood.h b/src/likelihood.h index 129c313..f087e90 100644 --- a/src/likelihood.h +++ b/src/likelihood.h @@ -4,6 +4,9 @@ #include "event.h" #include /* for size_t */ +/* Minimum number of points in the track integral. */ +#define MIN_NPOINTS 100 + /* 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 -- cgit