From 455089a0cccf9ef619084f0802f58b91aa325ea3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 31 May 2013 16:38:44 -0700 Subject: Write final coordinates to the right place --- libcrystfel/src/integration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/integration.c') 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); } } -- cgit v1.2.3