aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-02-27 13:44:29 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commitbc24110f035c62b3e7e873a2b84c47bcf7414f19 (patch)
tree9208ba54ae6178437665aafa5178bb3868e118bf /src/post-refinement.c
parentde9fbc4335a5d2e3896381403f4b1b5b19dcf444 (diff)
Scaling fixes
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 e1a2e05a..8e2241f6 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -92,7 +92,7 @@ double residual(Crystal *cr, const RefList *full, int free,
double B = crystal_get_Bfac(cr);
UnitCell *cell = crystal_get_cell(cr);
- if ( linear_scale(crystal_get_reflections(cr), full, &G) ) {
+ if ( linear_scale(full, crystal_get_reflections(cr), &G) ) {
return INFINITY;
}