From de9fbc4335a5d2e3896381403f4b1b5b19dcf444 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 5 Dec 2017 12:16:20 +0100 Subject: const-cleanliness (and a bit of error checking) --- src/scaling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scaling.h') diff --git a/src/scaling.h b/src/scaling.h index 85e8c8ab..4d075a3b 100644 --- a/src/scaling.h +++ b/src/scaling.h @@ -41,7 +41,7 @@ extern double log_residual(Crystal *cr, const RefList *full, int free, int *pn_used, const char *filename); -extern int linear_scale(RefList *list1, const RefList *list2, double *G); +extern int linear_scale(const RefList *list1, const RefList *list2, double *G); extern void scale_all(Crystal **crystals, int n_crystals, int nthreads, PartialityModel pmodel); -- cgit v1.2.3