aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-03 19:15:14 +0100
committerThomas White <taw@physics.org>2014-03-03 19:15:14 +0100
commit39690204a592f4063c413956b5052f2110ce1d20 (patch)
tree52aad716cfbc3f18b5e26dd8085181d893233442 /libcrystfel
parentb6d43aa2f25aa4ba8414d609cf352bc99ea2707d (diff)
Remove silly test
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index ed2348ac..0a32c8a2 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -861,11 +861,6 @@ static int check_box(struct intcontext *ic, struct peak_box *bx, int *sat)
return 1;
}
- if ( (p < 0) || (p >= ic->w) || (q < 0) || (q >= ic->w) ) {
- ERROR("WTF?\n");
- return 1;
- }
-
bx->bm[p+ic->w*q] = ic->bm[p+ic->w*q];
if ( ic->image->bad[bx->pn][fs + bx->p->w*ss] ) {