aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-09 14:20:47 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:39 +0100
commit22d4f329abdcc91d04ac9cff67112eeeab1509a3 (patch)
treed40a1087ef0e8004f535ea1a6e742368805c41aa /src/compare_hkl.c
parent97193f88afab414256103894cd4488f255c37b36 (diff)
compare_hkl: Record actual number of (common) reflections used for Rsplit in each shell
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 27e97564..6aca8869 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -180,7 +180,8 @@ static void plot_shells(RefList *list1, RefList *list2, double scale,
double r, cen;
cen = rmins[i] + (rmaxs[i] - rmins[i])/2.0;
r = (2.0*(num[i]/den)*((double)ctot/cts[i]))/sqrt(2.0);
- fprintf(fh, "%10.3f %10.2f\n", cen*1.0e-9, r*100.0);
+ fprintf(fh, "%10.3f %10.2f %10i\n",
+ cen*1.0e-9, r*100.0, cts[i]);
}