aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-13 11:20:21 +0200
committerThomas White <taw@physics.org>2019-06-21 16:06:57 +0200
commit811633ea931447f1bb2ebf3c517195e264916fc6 (patch)
tree618aefd8fad6aa2fae136142a42b5622fad01114 /src
parent51103691a46f8319d201de09704f58c68468d163 (diff)
partialator: Be more verbose about minimisation failures
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 8fa54206..27c73570 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -885,7 +885,8 @@ static void do_pr_refine(Crystal *cr, const RefList *full,
}
} else {
- ERROR("Bad refinement: crystal %i\n", serial);
+ ERROR("Bad refinement: crystal %i (%s) after %i iterations\n",
+ serial, gsl_strerror(status), n_iter);
}
if ( write_logs ) {