diff options
author | Thomas White <taw@physics.org> | 2013-07-30 11:51:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-31 17:09:36 +0200 |
commit | 3087bf8c1493cdc8ef63a5b4044c31e7c72e767d (patch) | |
tree | 633d906c96ac38819199460d0f68ee4d45fc263a /src | |
parent | 528c6b2fe54f252965c33b2981c1a989ecb0c002 (diff) |
Count reflections gained and lost during initial partiality calculation
Diffstat (limited to 'src')
-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 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); |