aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-02 13:05:25 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit4c8f86c583b203fa4098b8e116a1d50cb435d883 (patch)
tree05c09e1436c4c72f6adb6e46b51ddee89b8d4f3a /libcrystfel/src/integration.c
parenta851516f08edab1f54592b4e6df5ff87d3c6dfd5 (diff)
Convert more bits to detgeom
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 85d7cd94..00f1d997 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1660,7 +1660,7 @@ void integrate_all_5(struct image *image, IntegrationMethod meth,
pthread_mutex_t *term_lock, int overpredict)
{
int i;
- int *masks[image->det->n_panels];
+ int *masks[image->detgeom->n_panels];
/* Predict all reflections */
for ( i=0; i<image->n_crystals; i++ ) {
@@ -1687,7 +1687,7 @@ void integrate_all_5(struct image *image, IntegrationMethod meth,
}
- for ( i=0; i<image->det->n_panels; i++ ) {
+ for ( i=0; i<image->detgeom->n_panels; i++ ) {
masks[i] = make_BgMask(image, &image->detgeom->panels[i],
i, ir_inn);
}
@@ -1725,7 +1725,7 @@ void integrate_all_5(struct image *image, IntegrationMethod meth,
}
- for ( i=0; i<image->det->n_panels; i++ ) {
+ for ( i=0; i<image->detgeom->n_panels; i++ ) {
free(masks[i]);
}
}