aboutsummaryrefslogtreecommitdiff
path: root/src/facetron.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-14 14:40:23 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commitd7fcd9bf03273027098fdeb3a101fc137a804d16 (patch)
tree6df2ddffaffa02a5d80df12ec5aa289a8c1b04ec /src/facetron.c
parent7a8201582421c5d3df7a83d9fa66f57f06dce740 (diff)
Fix previous commit
Diffstat (limited to 'src/facetron.c')
-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);