aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.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/geometry.c
parent38f4ee0f9b07cf53954d7f5d3061c0ab9ef3444c (diff)
Fix integrate_peak() problems which caused incorrect peak positions
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 263be4af..f3146fb1 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -284,7 +284,7 @@ double integrate_all(struct image *image, struct cpeak *cpeaks, int n)
float x, y, intensity;
if ( integrate_peak(image, cpeaks[i].x, cpeaks[i].y, &x, &y,
- &intensity, NULL, NULL, 0, 0) ) continue;
+ &intensity, NULL, NULL, 0, 0, 0) ) continue;
itot += intensity;
}