diff options
author | Thomas White <taw@physics.org> | 2010-12-05 18:10:31 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:07 +0100 |
commit | 316c730bc3d001ff8def51ceac42e3b4cd074e1a (patch) | |
tree | ca28ea7bdfa674286b8951f764756078841803e5 /src/peaks.c | |
parent | 9c54c3d3f8824f5817c716eba5990c46489f9df1 (diff) |
Fix silly bug in integrate_peak()
Diffstat (limited to 'src/peaks.c')
-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 ) { |