aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-02 11:14:39 +0200
committerThomas White <taw@physics.org>2014-09-05 18:22:29 +0200
commit2f789e6e769f3521e8925c082cf81eddb30f33fe (patch)
tree45b7018f6c59e3c007d16040f60e5207b0d74d9b /libcrystfel
parent974f26460b1598275d99710af7a5d1d8f6fc9861 (diff)
Pass the partiality model through correctly
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 357ab7af..635a7c74 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1842,8 +1842,7 @@ void integrate_all_4(struct image *image, IntegrationMethod meth,
/* Predict all reflections */
for ( i=0; i<image->n_crystals; i++ ) {
RefList *list;
- list = find_intersections(image, image->crystals[i],
- PMODEL_SCSPHERE);
+ list = find_intersections(image, image->crystals[i], pmodel);
crystal_set_reflections(image->crystals[i], list);
}