diff options
author | Thomas White <taw@physics.org> | 2013-07-30 15:47:25 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-31 17:09:36 +0200 |
commit | 51c7d76b4586bd117c8171b46040a78f68edbd85 (patch) | |
tree | 6eb8c017bbf5882935d9be43935618ec07154e12 /src/post-refinement.c | |
parent | 3087bf8c1493cdc8ef63a5b4044c31e7c72e767d (diff) |
Tweak rejection criteria
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r-- | src/post-refinement.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 1293b249..a259ece2 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -620,7 +620,6 @@ void pr_refine(Crystal *cr, const RefList *full, PartialityModel pmodel) backup = backup_crystal(cr); i = 0; - crystal_set_user_flag(cr, 0); do { double asx, asy, asz; @@ -646,7 +645,7 @@ void pr_refine(Crystal *cr, const RefList *full, PartialityModel pmodel) i+1, max_shift, dev, n_gained, n_lost, n_total); } - if ( 10*n_lost > n_total ) { + if ( 3*n_lost > n_total ) { revert_crystal(cr, backup); crystal_set_user_flag(cr, 1); } |