From 83e8ae45888b8edbe6112d9bcceea3352c422255 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 19 Apr 2012 12:15:05 +0200 Subject: Remove check for rlow > rhigh I'm happy that there are no gremlins here, now. This happens only for 000, where rlow and rhigh both go to zero. It doesn't make sense to have a special check for the condition. --- libcrystfel/src/geometry.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libcrystfel/src/geometry.c') diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index e416a883..f46cea25 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -151,11 +151,6 @@ static Reflection *check_reflection(struct image *image, cez = -cos(image->div/2.0) * klow; rlow = klow - distance(cet, cez, tl, zl); /* Loss of precision */ - if ( rlow < rhigh ) { - STATUS("%i %i %i\n", h, k, l); - return NULL; - } - if ( (signbit(rlow) == signbit(rhigh)) && (fabs(rlow) > image->profile_radius) && (fabs(rhigh) > image->profile_radius) ) return NULL; -- cgit v1.2.3