aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
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 */