diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 11:34:08 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 11:34:08 -0400 |
commit | 8f47a51d4c91a3303982b6cc2fa0d76cbd392a37 (patch) | |
tree | 8508126e523aadb9def32a9085b3be371cef9cea /src | |
parent | 2cdd60cb9d723a978ac6698cc999710116e052b5 (diff) | |
download | sddm-8f47a51d4c91a3303982b6cc2fa0d76cbd392a37.tar.gz sddm-8f47a51d4c91a3303982b6cc2fa0d76cbd392a37.tar.bz2 sddm-8f47a51d4c91a3303982b6cc2fa0d76cbd392a37.zip |
change MAX_NPEAKS to 5
I probably need to spend some time to optimize this along with the algorithm
for guessing the peaks, but for now I am just lowering this from 10 -> 5
because with 10 the number of quick minimizations for 3 particles is too big
and so the fits take way too long.
Diffstat (limited to 'src')
-rw-r--r-- | src/fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ /* Maximum number of fit parameters. Should be at least 4 + 3*MAX_VERTICES. */ #define MAX_PARS 100 /* Maximum number of peaks to search for in Hough transform. */ -#define MAX_NPEAKS 10 +#define MAX_NPEAKS 5 /* Maximum kinetic energy for any particle. */ #define MAX_ENERGY 10000 |