aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-02 14:19:25 +0200
committerThomas White <taw@physics.org>2010-06-02 14:19:25 +0200
commit58b6ae91c195b88604373dfb61c54b49ab6e3ddb (patch)
treed654e420233f9835c054e9e5e4b1667483966f89 /src/peaks.c
parent09336f631b1e420ccf8809413e7811092d509724 (diff)
Bad pixel mask is actually 16 bits
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 6e8490ff..baa960b1 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -152,7 +152,7 @@ static int integrate_peak(struct image *image, int xp, int yp,
double val, sa, pix_area, Lsq, dsq, proj_area;
float tt;
double phi, pa, pb, pol;
- uint8_t flags;
+ uint16_t flags;
/* Circular mask */
if ( x*x + y*y > lim ) continue;