aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-11-14 15:45:47 +0100
committerThomas White <taw@physics.org>2014-11-14 15:45:47 +0100
commitf98c55524c74647ac999746929b8206f1ab178c0 (patch)
tree2b8b49446a1aedd75385ae4d3ae9ce481aa0a063 /libcrystfel/src/detector.c
parent4d885d3485cd16e838a397f8a2483fcc331c8c87 (diff)
Background need not be an integer
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index f220d755..a7da92bb 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -322,7 +322,7 @@ double get_tt(struct image *image, double fs, double ss, int *err)
}
-void record_image(struct image *image, int do_poisson, int background,
+void record_image(struct image *image, int do_poisson, double background,
gsl_rng *rng, double beam_radius, double nphotons)
{
int x, y;