aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/facetron.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/facetron.c b/src/facetron.c
index 5693a00c..fa9754e4 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -135,7 +135,9 @@ static void integrate_image(int mytask, void *tasks)
* pattern? */
/* FIXME: Coordinates aren't whole numbers */
if ( integrate_peak(image, spots[j].x, spots[j].y,
- &xc, &yc, &i_partial, 1, 1) ) continue;
+ &xc, &yc, &i_partial, NULL, NULL, 1, 1) ) {
+ continue;
+ }
pthread_mutex_lock(pargs->list_lock);
integrate_intensity(pargs->i_full, h, k, l, i_partial);