From 51c7d76b4586bd117c8171b46040a78f68edbd85 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Jul 2013 15:47:25 +0200 Subject: Tweak rejection criteria --- src/post-refinement.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/post-refinement.c') 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); } -- cgit v1.2.3