aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-11 15:35:44 -0700
committerThomas White <taw@bitwiz.org.uk>2010-06-11 15:35:44 -0700
commit29e67fab67793ce42b889405cf6e7ef1a32d0bdc (patch)
treee9b66ffb56fae17a109d27e15222eba664515831 /src/peaks.c
parent1915044fdd7b7de700330450445be9fe5d5b2001 (diff)
Get detector geometry from file
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c
index a5dce6c1..bcd1fd12 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -166,7 +166,7 @@ static int integrate_peak(struct image *image, int xp, int yp,
if ( !((flags & 0x01) && (flags & 0x04)) ) return 1;
}
- p = find_panel(&image->det, x+xp, y+yp);
+ p = find_panel(image->det, x+xp, y+yp);
if ( p == NULL ) return 1;
/* Area of one pixel */