From 947fb90facb9afd6b5bbc1e7762644c073955a71 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 May 2014 13:58:38 +0200 Subject: partialator: Recalculate partialities after reverting crystal --- src/post-refinement.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/post-refinement.c b/src/post-refinement.c index 80189d0a..0f001a21 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -735,7 +735,10 @@ struct prdata pr_refine(Crystal *cr, const RefList *full, if ( 3*n_lost > n_total ) { revert_crystal(cr, backup); + update_partialities_2(cr, pmodel, &n_gained, &n_lost, + &mean_p_change); crystal_set_user_flag(cr, 3); + break; } i++; -- cgit v1.2.3