From 87d72e34a321aa53ad4e89f90058d5867cbd3261 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 1 Jul 2010 19:02:09 +0200 Subject: compare_hkl: Take counts into account --- src/compare_hkl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compare_hkl.c') diff --git a/src/compare_hkl.c b/src/compare_hkl.c index b80546c8..4c17fda3 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -110,6 +110,10 @@ int main(int argc, char *argv[]) set_count(c1, 0, 0, 0, 0); set_count(c2, 0, 0, 0, 0); + /* Divide by number of counts, since we're not interested in them */ + divide_down(ref1, c1); + divide_down(ref2, c2); + for ( h=-INDMAX; h