aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-11 12:09:33 +0200
committerThomas White <taw@physics.org>2014-08-11 12:09:33 +0200
commita82278dbdd8311c46676b0921c423934208ec81a (patch)
tree4e70476e4f2e6d1b9609dc37e286f8cc6569faf1 /libcrystfel/src/peaks.c
parent55f6dd31901f05477d4c84437e4479d06059a56b (diff)
Take overlaps into account during integration
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index a38e4d4d..ca5a6951 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -191,7 +191,7 @@ static void add_crystal_to_mask(struct image *image, struct panel *p,
if ( fs < 0 ) continue;
if ( ss < 0 ) continue;
- mask[fs + ss*w] = 1;
+ mask[fs + ss*w]++;
}
}