aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-08-13 17:35:23 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:55 +0100
commit320875aea5bce5d1896a79083d9021ddbbfa9919 (patch)
tree6799576e9e0236bbb545c267b3c1c7335d0b1f60 /src/peaks.c
parent5baa5111851f9fcb355312b0615a7543bcfeaa37 (diff)
facetron: Add pre-refinement
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 5f0a8a27..383f4663 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -169,9 +169,9 @@ static int cull_peaks(struct image *image)
/* Returns non-zero if peak has been vetoed.
* i.e. don't use result if return value is not zero. */
-static int integrate_peak(struct image *image, int xp, int yp,
- float *xc, float *yc, float *intensity,
- int do_polar, int do_sa)
+int integrate_peak(struct image *image, int xp, int yp,
+ float *xc, float *yc, float *intensity,
+ int do_polar, int do_sa)
{
signed int x, y;
const int lim = INTEGRATION_RADIUS * INTEGRATION_RADIUS;