From 29e67fab67793ce42b889405cf6e7ef1a32d0bdc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 11 Jun 2010 15:35:44 -0700 Subject: Get detector geometry from file --- src/peaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/peaks.c') 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 */ -- cgit v1.2.3