diff options
author | Thomas White <taw@physics.org> | 2012-04-19 12:15:05 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-04-19 12:16:10 +0200 |
commit | 83e8ae45888b8edbe6112d9bcceea3352c422255 (patch) | |
tree | 0c7cbe6549dec4043cbe3f7f4c13b48814983e8c | |
parent | 605ed411cc56da3bbf6d33a441c3d16adcfeb3a1 (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.
-rw-r--r-- | libcrystfel/src/geometry.c | 5 |
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; |