aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
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 7a7f5942..2a4c6d10 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -108,7 +108,7 @@ void record_image(struct image *image, int do_poisson)
counts = (int)rounded;
}
- image->data[x + image->width*y] = counts;
+ image->data[x + image->width*y] = counts * DETECTOR_GAIN;
}
progress_bar(x, image->width-1, "Post-processing");