From 3087bf8c1493cdc8ef63a5b4044c31e7c72e767d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Jul 2013 11:51:35 +0200 Subject: Count reflections gained and lost during initial partiality calculation --- src/partialator.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index 68c5f08b..03bdd8aa 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -578,12 +578,16 @@ int main(int argc, char *argv[]) Crystal *cryst; RefList *as; + int n_gained = 0; + int n_lost = 0; cryst = images[i].crystals[j]; crystal_set_image(cryst, &images[i]); /* Now it's safe to do the following */ - update_partialities(cryst, pmodel); + update_partialities_2(cryst, pmodel, + &n_gained, &n_lost); + assert(n_gained == 0); /* That'd just be silly */ as = crystal_get_reflections(cryst); nobs += select_scalable_reflections(as, reference); -- cgit v1.2.3