aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-05 17:45:10 +0100
committerThomas White <taw@physics.org>2010-02-05 17:45:10 +0100
commitbd233188cce2c0f8203dd2a4c60eecd9abcb9bbf (patch)
treec4e054d0e959f693fbcf98d41a37bd61cad2de4c /src/detector.c
parent32f0796c1906818edb1f7cbfe57c76290fd97d56 (diff)
Add (slow) bandwidth and multisampling
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 2c313cdc..ccf37024 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[x + image->width*y],
+ water = water_intensity(image->qvecs[0][x + image->width*y],
ph_lambda_to_en(image->lambda),
BEAM_RADIUS, WATER_RADIUS);
intensity += water;