aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/merge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/merge.c b/src/merge.c
index a655b2cc..1aaa272f 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -454,6 +454,7 @@ double log_residual(Crystal *cr, const RefList *full, int free,
fx = log(G) - B*s*s + log(p) + log(I_full) - log(I_partial) - log(L);
w = 1.0;
dev += w*fx*fx;
+ n_used++;
if ( fh != NULL ) {
fprintf(fh, "%4i %4i %4i %e %e\n",