From a49936db5639852019ae3da23d0e5ee13a7315c2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 12 Jul 2010 10:07:38 +0200 Subject: compare_hkl: Improve bookkeeping --- src/compare_hkl.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/compare_hkl.c') diff --git a/src/compare_hkl.c b/src/compare_hkl.c index 0dffd3a0..e6caee6f 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -55,6 +55,7 @@ int main(int argc, char *argv[]) unsigned int *c2; int i; int nc1, nc2, ncom; + unsigned int *outcounts; /* Long options */ const struct option longopts[] = { @@ -106,6 +107,7 @@ int main(int argc, char *argv[]) return 1; } out = new_list_intensity(); + outcounts = new_list_count(); /* Knock out the zero beam, in case it's present */ set_count(c1, 0, 0, 0, 0); @@ -120,12 +122,20 @@ int main(int argc, char *argv[]) for ( l=-INDMAX; l