aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/geometry.c')
-rw-r--r--libcrystfel/src/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index b6ede348..8518d026 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -393,7 +393,7 @@ static Reflection *check_reflection(struct image *image, Crystal *cryst,
/* otherwise, calculate position if we have a detector structure, and
* if we don't then just make do with partiality calculation */
- if ( (image->det != NULL) && (updateme == NULL) ) {
+ if ( (image->detgeom != NULL) && (updateme == NULL) ) {
double fs, ss; /* position on detector */
signed int p; /* panel number */