diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,7 @@ #include "proton.h" #include "hdf5.h" #include "hdf5_utils.h" +#include <gsl/gsl_sort.h> /* Maximum number of fit parameters. Should be at least 4 + 3*MAX_VERTICES. */ #define MAX_PARS 100 @@ -5893,6 +5894,8 @@ size_t particle_combo_to_array(int particle_combo, int *id) particle_combo /= 100; } + gsl_sort_int(id,1,i); + return i; } |