aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-04-19 12:15:05 +0200
committerThomas White <taw@physics.org>2012-04-19 12:16:10 +0200
commit83e8ae45888b8edbe6112d9bcceea3352c422255 (patch)
tree0c7cbe6549dec4043cbe3f7f4c13b48814983e8c /libcrystfel/src/geometry.c
parent605ed411cc56da3bbf6d33a441c3d16adcfeb3a1 (diff)
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.
Diffstat (limited to 'libcrystfel/src/geometry.c')
-rw-r--r--libcrystfel/src/geometry.c5
1 files changed, 0 insertions, 5 deletions
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;