aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-14 14:35:57 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commit7a8201582421c5d3df7a83d9fa66f57f06dce740 (patch)
tree60cac2fd3ae42507233785c588424b7ab36803cd /src/geometry.c
parent67d8cf120ba7e8140449379d0153cef93795c813 (diff)
Estimate peak backgrounds
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 4ebe81cd..09865822 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -155,7 +155,7 @@ double integrate_all(struct image *image, struct reflhit *hits, int n)
float x, y, intensity;
if ( integrate_peak(image, hits[i].x, hits[i].y, &x, &y,
- &intensity, 0, 0) ) continue;
+ &intensity, NULL, NULL, 0, 0) ) continue;
itot += intensity;
}