From 90ee3c269580104f2d16d28aeaa565063f6fc1f2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 Jan 2014 16:52:57 +0100 Subject: RNG overhaul Previously, we were using random(), which is really really bad. --- libcrystfel/src/detector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src/detector.h') diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h index cfe0808a..eaa5618e 100644 --- a/libcrystfel/src/detector.h +++ b/libcrystfel/src/detector.h @@ -153,7 +153,7 @@ extern double get_tt(struct image *image, double xs, double ys, int *err); extern int in_bad_region(struct detector *det, double fs, double ss); -extern void record_image(struct image *image, int do_poisson); +extern void record_image(struct image *image, int do_poisson, gsl_rng *rng); extern struct panel *find_panel(struct detector *det, double fs, double ss); -- cgit v1.2.3