diff options
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r-- | libcrystfel/src/integration.c | 5 |
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] ) { |