diff options
author | Thomas White <taw@physics.org> | 2020-07-30 10:16:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-30 10:17:12 +0200 |
commit | e14e413957b0c1e357167f43f129a6ef39ef5051 (patch) | |
tree | c26d0a6235091010138a9313bf2cfb8924903610 /libcrystfel/src/peaks.c | |
parent | f9a6d5ea442e074d1e61585b572837f80e2ddac9 (diff) |
Eliminate duplicate symbols
This makes searching easier, and also permits Meson's unity build mode.
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r-- | libcrystfel/src/peaks.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 854eaf39..83239236 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -723,16 +723,6 @@ void validate_peaks(struct image *image, double min_snr, } -static int compare_double(const void *av, const void *bv) -{ - double a = *(double *)av; - double b = *(double *)bv; - if ( a > b ) return 1; - if ( a < b ) return -1; - return 0; -} - - double estimate_peak_resolution(ImageFeatureList *peaks, double lambda, struct detgeom *det) { |