From 2e1f48ba900e97e906d18d8c5568b31dfbde3412 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Mon, 11 Jan 2021 08:56:22 +0000 Subject: Only free randomizer when initialized Fixes: #239 --- src/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/param.h') diff --git a/src/param.h b/src/param.h index eb2cef7..e747182 100644 --- a/src/param.h +++ b/src/param.h @@ -213,7 +213,7 @@ public: size_t n_mh; // # MH steps in each iter. double geo_mean; // Mean of geometric dist. long int randseed; // holds -seed parameter - gsl_rng *gsl_r; // Track the randomizer + gsl_rng *gsl_r = NULL; // Track the randomizer double trace_G; HYPBSLMM cHyp_initial; -- cgit v1.2.3