aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-08 14:18:13 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit78917049b09ece78834d6309eb3f035e83537d1d (patch)
tree2978af9d4e9fd1fb5b94caa036bce1d7c6298f8f /libcrystfel/src/geometry.c
parent9aac978cbe89adc784aeb049f80bb465b80dfbc0 (diff)
Remove more references to old detector structure
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 */