aboutsummaryrefslogtreecommitdiff
path: root/tests/ring_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ring_check.c')
-rw-r--r--tests/ring_check.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ring_check.c b/tests/ring_check.c
index dac0d90f..f4830068 100644
--- a/tests/ring_check.c
+++ b/tests/ring_check.c
@@ -33,8 +33,13 @@
#include <image.h>
#include <utils.h>
-#include "../libcrystfel/src/peaks.c"
+extern int integrate_peak(struct image *image,
+ int p_cfs, int p_css, int pn,
+ double *pfs, double *pss,
+ double *intensity, double *sigma,
+ double ir_inn, double ir_mid, double ir_out,
+ int *saturated);
/* The third integration check draws a Poisson background and checks that, on
* average, it gets subtracted by the background subtraction. */