diff options
Diffstat (limited to 'src/detector.c')
-rw-r--r-- | src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c index e8eade98..78fb216f 100644 --- a/src/detector.c +++ b/src/detector.c @@ -113,7 +113,7 @@ void record_image(struct image *image, int do_poisson) counts = poisson_noise(intensity * ph_per_e * sa * DQE); } else { cf = intensity * ph_per_e * sa * DQE; - counts = rint(cf); + counts = cf; } image->data[x + image->width*y] = counts * DETECTOR_GAIN; |