aboutsummaryrefslogtreecommitdiff
path: root/src/scaling.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-12-12 16:15:38 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commitf77e60c21e9b5f02fa265b258d07010debbfcee3 (patch)
tree3eb9e292b899a1fc67896d67e79999f31f9cb6aa /src/scaling.h
parent55a8a64893ad2a6d303e4f33271e830a4f3da8f9 (diff)
Don't complain loudly about scaling failures during refinement
As long as it doesn't end up somewhere bad, it can probe where it likes.
Diffstat (limited to 'src/scaling.h')
-rw-r--r--src/scaling.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scaling.h b/src/scaling.h
index 6ff0a337..b345029a 100644
--- a/src/scaling.h
+++ b/src/scaling.h
@@ -41,7 +41,8 @@
extern double log_residual(Crystal *cr, const RefList *full, int free,
int *pn_used, const char *filename);
-extern int linear_scale(const RefList *list1, const RefList *list2, double *G);
+extern int linear_scale(const RefList *list1, const RefList *list2, double *G,
+ int complain_loudly);
extern void scale_all_to_reference(Crystal **crystals, int n_crystals,
RefList *reference, int nthreads);