aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-08 10:57:09 +0100
committerThomas White <taw@physics.org>2010-02-08 10:57:09 +0100
commit687eed4650e74a86f45cd533dd94a0a2ace1d1e8 (patch)
tree76089b2787ce5ed5c13137220fa411905e6ab450 /src/detector.c
parente0ebaddca236d0bcfc7b7eb56c9d72dccee0673f (diff)
Rework multisampling (remove Ewald module)
Diffstat (limited to 'src/detector.c')
-rw-r--r--src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c
index ccf37024..ae7576b2 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -182,7 +182,7 @@ void record_image(struct image *image, int do_water, int do_poisson,
if ( do_water ) {
/* Add intensity contribution from water */
- water = water_intensity(image->qvecs[0][x + image->width*y],
+ water = water_intensity(get_q(image, x, y, 1, NULL),
ph_lambda_to_en(image->lambda),
BEAM_RADIUS, WATER_RADIUS);
intensity += water;