diff options
author | Pjotr Prins | 2021-01-11 08:56:22 +0000 |
---|---|---|
committer | Pjotr Prins | 2021-01-11 08:56:22 +0000 |
commit | 2e1f48ba900e97e906d18d8c5568b31dfbde3412 (patch) | |
tree | fbb6882fd99b5e418c2adfe8ac5a2c1a848949b9 /src/param.h | |
parent | 47221d6e9891bf9b20ce6e1e909856ccb0ae575f (diff) | |
download | pangemma-2e1f48ba900e97e906d18d8c5568b31dfbde3412.tar.gz |
Only free randomizer when initialized
Fixes: #239
Diffstat (limited to 'src/param.h')
-rw-r--r-- | src/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |