aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-22 17:23:50 +0200
committerThomas White <taw@physics.org>2015-07-23 16:58:52 +0200
commit54148df6301bf4e1ac7c659fa2aea0e4f9fb68a2 (patch)
treead19728cf61a517d0221dfa8934693003a9b6afe /src/post-refinement.c
parentc8c4c24c31964816fca0c2f5b723b5c2616fb7db (diff)
Make convergence criterion more stringent
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index a35bc655..a10ee781 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -864,7 +864,7 @@ static double do_pr_refine(Crystal *cr, const RefList *full,
update_partialities(cr, pmodel);
dev = residual(cr, full, 0, 0, NULL);
- if ( fabs(dev - old_dev) < dev*0.01 ) done = 1;
+ if ( fabs(dev - old_dev) < dev*0.0001 ) done = 1;
if ( verbose ) {
STATUS("PR iter %2i: dev = %10.5e, free dev = %10.5e\n",