aboutsummaryrefslogtreecommitdiff
path: root/src/facetron.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-12-03 17:42:29 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:07 +0100
commit9c54c3d3f8824f5817c716eba5990c46489f9df1 (patch)
treecc0a731f45a7bbe9c2871172bbac0e2e53a2ae43 /src/facetron.c
parent38f4ee0f9b07cf53954d7f5d3061c0ab9ef3444c (diff)
Fix integrate_peak() problems which caused incorrect peak positions
Diffstat (limited to 'src/facetron.c')
-rw-r--r--src/facetron.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/facetron.c b/src/facetron.c
index 38d701e6..f16de2f7 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -207,7 +207,8 @@ static void integrate_image(struct image *image)
* pattern? */
/* FIXME: Coordinates aren't whole numbers */
if ( integrate_peak(image, spots[j].x, spots[j].y,
- &xc, &yc, &i_partial, NULL, NULL, 1, 1) ) {
+ &xc, &yc, &i_partial, NULL, NULL,
+ 1, 1, 0) ) {
continue;
}