diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-12-14 11:52:09 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-12-14 11:52:09 -0600 |
commit | 99db8e8e14696bfbf812b655d4a9160500afea11 (patch) | |
tree | 3f4a1954eda87e79e7c9bd5c8f7ea0fd976d3743 /src/misc.c | |
parent | 50a729145835d7fc88b81b713d94a894ebee378b (diff) | |
download | sddm-99db8e8e14696bfbf812b655d4a9160500afea11.tar.gz sddm-99db8e8e14696bfbf812b655d4a9160500afea11.tar.bz2 sddm-99db8e8e14696bfbf812b655d4a9160500afea11.zip |
switch to using fit_event2() by default
This commit updates the fit to use the fit_event2() function which can fit for
multi vertex hypotheses. It also uses the QUAD fitter and the Hough transform
of the event to seed the fit so the results for 1 particle fits will be
slightly different than before.
I also fixed a small bug in combinations_with_replacement().
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -726,7 +726,7 @@ void combinations_with_replacement(size_t n, size_t r, size_t *result, size_t *l size_t i, j; size_t *tmp; - tmp = malloc(sizeof(size_t)*n*ipow(r,n)); + tmp = malloc(sizeof(size_t)*n*ipow(n,r)); product(n,r,tmp); |