aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 4214c1ec..00746c0f 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -522,7 +522,6 @@ struct prdata pr_refine(Crystal *cr, const RefList *full,
int i;
const int verbose = 0;
struct prdata prdata;
- double mean_p_change = 0.0;
prdata.refined = 0;
prdata.n_filtered = 0;
@@ -559,7 +558,7 @@ struct prdata pr_refine(Crystal *cr, const RefList *full,
i++;
- } while ( (mean_p_change > 0.01) && (i < MAX_CYCLES) );
+ } while ( i < MAX_CYCLES );
if ( crystal_get_user_flag(cr) == 0 ) {
prdata.refined = 1;