aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c3
1 files changed, 3 insertions, 0 deletions
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++;