aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-05-31 16:38:44 -0700
committerThomas White <taw@bitwiz.org.uk>2013-05-31 16:38:44 -0700
commit455089a0cccf9ef619084f0802f58b91aa325ea3 (patch)
tree4b5c434af9006ce716945a029c78eeb523f6b00a /libcrystfel
parentda09bdefdab9ebccdc4777d6631959285972fd37 (diff)
Write final coordinates to the right place
Diffstat (limited to 'libcrystfel')
-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);
}
}