diff options
-rw-r--r-- | src/peaks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |