diff options
author | Thomas White <taw@physics.org> | 2014-05-22 13:58:38 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-22 13:58:38 +0200 |
commit | 947fb90facb9afd6b5bbc1e7762644c073955a71 (patch) | |
tree | 8029f856bc54c429e4f7869f6fba86dc2112c301 /src | |
parent | d12da8c92cd87b9ea9ca5aad609f9a354ee11a98 (diff) |
partialator: Recalculate partialities after reverting crystal
Diffstat (limited to 'src')
-rw-r--r-- | src/post-refinement.c | 3 |
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++; |