diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-11-25 11:38:19 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-11-25 11:38:19 -0600 |
commit | b52f09bd049aa122d0c15498de454555538b34f0 (patch) | |
tree | 9f1f1d78be89173c1cc10a4dfd5b9c6ad5455584 /src/likelihood.h | |
parent | edd779b14c36a239844377343499dc7894718169 (diff) | |
download | sddm-b52f09bd049aa122d0c15498de454555538b34f0.tar.gz sddm-b52f09bd049aa122d0c15498de454555538b34f0.tar.bz2 sddm-b52f09bd049aa122d0c15498de454555538b34f0.zip |
update likelihood to make sure we integrate over at least 100 points
Diffstat (limited to 'src/likelihood.h')
-rw-r--r-- | src/likelihood.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stddef.h> /* 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 |