diff options
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 0d4292d3..6e8490ff 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -163,7 +163,7 @@ static int integrate_peak(struct image *image, int xp, int yp, /* Veto this peak if we tried to integrate in a bad region */ if ( image->flags != NULL ) { flags = image->flags[(x+xp)+image->width*(y+yp)]; - if ( flags & 0x03 ) return 1; + if ( !((flags & 0x01) && (flags & 0x04)) ) return 1; } p = find_panel(&image->det, x+xp, y+yp); |