aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compare_hkl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 60415c4b..88c6431b 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -440,6 +440,11 @@ int main(int argc, char *argv[])
}
+ if ( ratiofile != NULL ) {
+ write_reflist(ratiofile, ratio, cell);
+ }
+ reflist_free(ratio);
+
STATUS("%i reflections in '%s' had I < 3.0*sigma(I)\n", rej1, afile);
STATUS("%i reflections in '%s' had I < 3.0*sigma(I)\n", rej2, bfile);
@@ -511,9 +516,5 @@ int main(int argc, char *argv[])
cell, sym, rmin_fix, rmax_fix);
}
- if ( ratiofile != NULL ) {
- write_reflist(ratiofile, ratio, cell);
- }
-
return 0;
}