aboutsummaryrefslogtreecommitdiff
path: root/src/scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-02 16:41:03 +0100
committerThomas White <taw@physics.org>2018-03-02 16:41:03 +0100
commit044b8732cd14584d1c34ab1a21564b20a0d46447 (patch)
treef2c344c8a078c323fe22310a2e4669305cda715c /src/scaling.c
parentc8a51805efd3deb068b17b5f79c1afcfd5e8d73d (diff)
Remove unnecessary pmodels
Diffstat (limited to 'src/scaling.c')
-rw-r--r--src/scaling.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scaling.c b/src/scaling.c
index 0ad50634..f4c93c66 100644
--- a/src/scaling.c
+++ b/src/scaling.c
@@ -389,8 +389,7 @@ static double total_log_r(Crystal **crystals, int n_crystals, RefList *full,
/* Perform iterative scaling, all the way to convergence */
-void scale_all(Crystal **crystals, int n_crystals, int nthreads,
- PartialityModel pmodel)
+void scale_all(Crystal **crystals, int n_crystals, int nthreads)
{
struct scale_args task_defaults;
struct queue_args qargs;
@@ -413,7 +412,7 @@ void scale_all(Crystal **crystals, int n_crystals, int nthreads,
double bef_res;
full = merge_intensities(crystals, n_crystals, nthreads,
- pmodel, 2, INFINITY, 0);
+ 2, INFINITY, 0);
old_res = new_res;
bef_res = total_log_r(crystals, n_crystals, full, NULL);