diff options
author | Thomas White <taw@physics.org> | 2018-11-22 16:18:43 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-11-22 16:20:35 +0100 |
commit | f30cc81c78493b3e0299f15a2ebf38aad2ba8e28 (patch) | |
tree | a7908f870eb316ef4f33f67df48ce704e32fe1ac /src/merge.c | |
parent | 516fe4e0275323b3439ceda0e8a92204b8479c6e (diff) |
log_residual: Actually set n_used
Diffstat (limited to 'src/merge.c')
-rw-r--r-- | src/merge.c | 1 |
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", |