aboutsummaryrefslogtreecommitdiff
path: root/src/scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-12-06 15:09:13 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commit875685341e65393c5ce34f63d2dff9a47d7779b0 (patch)
tree313405a4d34657b04bc22c2f7bc8b2fd916ad263 /src/scaling.c
parent66dd0f49fe53af47885a0857f1b64cd1b841faa2 (diff)
Fix const
Diffstat (limited to 'src/scaling.c')
-rw-r--r--src/scaling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scaling.c b/src/scaling.c
index ab913229..b2f063ec 100644
--- a/src/scaling.c
+++ b/src/scaling.c
@@ -45,6 +45,7 @@
#include "symmetry.h"
#include "cell.h"
#include "cell-utils.h"
+#include "scaling.h"
/* Maximum number of iterations of NLSq to do for each image per macrocycle. */
@@ -549,7 +550,7 @@ int linear_scale(const RefList *list1, const RefList *list2, double *G)
void scale_all_to_reference(Crystal **crystals, int n_crystals,
- const RefList *reference)
+ RefList *reference)
{
int i;