From 39690204a592f4063c413956b5052f2110ce1d20 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 3 Mar 2014 19:15:14 +0100 Subject: Remove silly test --- libcrystfel/src/integration.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libcrystfel/src/integration.c') 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] ) { -- cgit v1.2.3