From df495009716f77122ed0bf5a647d25474b282f34 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 5 Oct 2012 20:19:20 +0200 Subject: compare_hkl: Fix obvious bug --- src/compare_hkl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3