aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/integration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 0b0db4c0..caf1bbe9 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1225,10 +1225,10 @@ static void measure_all_intensities(IntegrationMethod meth, RefList *list,
set_redundancy(bx->refl, 1);
/* Update position */
- get_detector_pos(refl, &pfs, &pss);
+ get_detector_pos(bx->refl, &pfs, &pss);
pfs += bx->offs_fs;
pss += bx->offs_ss;
- set_detector_pos(refl, 0.0, pfs, pss);
+ set_detector_pos(bx->refl, 0.0, pfs, pss);
}
}