aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index bcffa617..9e22a542 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1135,11 +1135,6 @@ static void measure_all_intensities(IntegrationMethod meth, RefList *list,
cfs = (fid_fs-p->min_fs) - ic.halfw;
css = (fid_ss-p->min_ss) - ic.halfw;
- if ( (cfs + ic.w >= p->w) || (css + ic.w >= p->h ) ) {
- continue;
- }
- if ( (cfs < 0) || (css < 0 ) ) continue;
-
bx = add_box(&ic);
bx->refl = refl;
bx->cfs = cfs;
@@ -1582,11 +1577,6 @@ static void integrate_rings(IntegrationMethod meth, Crystal *cr,
cfs = (fid_fs-p->min_fs) - ic.halfw;
css = (fid_ss-p->min_ss) - ic.halfw;
- if ( (cfs + ic.w >= p->w) || (css + ic.w >= p->h ) ) {
- continue;
- }
- if ( (cfs < 0) || (css < 0 ) ) continue;
-
bx = add_box(&ic);
bx->refl = refl;
bx->cfs = cfs;