From 316c730bc3d001ff8def51ceac42e3b4cd074e1a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 5 Dec 2010 18:10:31 +0100 Subject: Fix silly bug in integrate_peak() --- 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 263040dd..1ad29a03 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -288,7 +288,7 @@ int integrate_peak(struct image *image, int xp, int yp, } else { *xc = (float)xp; *yc = (float)yp; - *intensity = 0; + *intensity = total; } if ( pbg != NULL ) { -- cgit v1.2.3