aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-10-05 20:19:20 +0200
committerThomas White <taw@bitwiz.org.uk>2012-10-05 20:19:20 +0200
commitdf495009716f77122ed0bf5a647d25474b282f34 (patch)
tree2e589cb226de566344826bfe09800dcc4d520ffd /src
parentb36b1aeb7356c18fc9de1441fa225953856fe7c4 (diff)
compare_hkl: Fix obvious bug
Diffstat (limited to 'src')
-rw-r--r--src/compare_hkl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index c6f46be4..ec4673c7 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -767,7 +767,7 @@ int main(int argc, char *argv[])
if ( rmax_fix > 0.0 ) {
double res = 2.0*resolution(cell, h, k, l);
- if ( res > rmin_fix ) {
+ if ( res > rmax_fix ) {
nres++;
continue;
}