diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-07-09 09:01:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | 45d7553145989d64ec70ee16904a3d9e8439bc16 (patch) | |
tree | b7b20f187f407133f3f48723c938449b025b5d57 | |
parent | c58fe463d52152d20bf74a91e639c86cf11b2e3d (diff) |
Display total reflection numbers (not just those for the last image)
-rw-r--r-- | src/partialator.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 954d1746..987893a7 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -416,6 +416,7 @@ int main(int argc, char *argv[]) RefList *as; struct image *cur; + int nn_expected, nn_found, nn_notfound; cur = &images[n_usable_patterns]; @@ -454,7 +455,10 @@ int main(int argc, char *argv[]) reflist_free(cur->reflections); cur->reflections = as; - update_partialities(cur, &n_expected, &n_found, &n_notfound); + update_partialities(cur, &nn_expected, &nn_found, &nn_notfound); + n_expected += nn_expected; + n_found += nn_found; + n_notfound += nn_notfound; nobs += select_scalable_reflections(cur->reflections, reference); |