diff options
Diffstat (limited to 'src/partialator.c')
-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); |