From 4c8f86c583b203fa4098b8e116a1d50cb435d883 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 2 Jun 2020 13:05:25 +0200 Subject: Convert more bits to detgeom --- libcrystfel/src/integration.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/integration.c') 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; in_crystals; i++ ) { @@ -1687,7 +1687,7 @@ void integrate_all_5(struct image *image, IntegrationMethod meth, } - for ( i=0; idet->n_panels; i++ ) { + for ( i=0; idetgeom->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; idet->n_panels; i++ ) { + for ( i=0; idetgeom->n_panels; i++ ) { free(masks[i]); } } -- cgit v1.2.3