aboutsummaryrefslogtreecommitdiff
path: root/src/bslmm.h
diff options
context:
space:
mode:
authorPjotr Prins2020-11-28 14:39:05 +0000
committerPjotr Prins2020-11-28 14:39:05 +0000
commitc895358937111d554999db8617c2fde696634f13 (patch)
tree9be16c4a9ced3e48621ccbeef20359a31669f88b /src/bslmm.h
parent9efcfa5179279fb5138d2e9ce7ae9796332fa3b2 (diff)
downloadpangemma-c895358937111d554999db8617c2fde696634f13.tar.gz
Sane random generator handling
Diffstat (limited to 'src/bslmm.h')
-rw-r--r--src/bslmm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bslmm.h b/src/bslmm.h
index d2dadbf..93dadf9 100644
--- a/src/bslmm.h
+++ b/src/bslmm.h
@@ -20,7 +20,7 @@
#define __BSLMM_H__
#include <gsl/gsl_randist.h>
-#include <gsl/gsl_rng.h>
+// #include <gsl/gsl_rng.h>
#include <map>
#include <vector>
@@ -60,7 +60,8 @@ public:
size_t n_accept; // Number of acceptances.
size_t n_mh; // Number of MH steps per iter.
double geo_mean; // Mean of geometric dist.
- long int randseed;
+ // long int randseed;
+ gsl_rng *gsl_r; // Track randomizer state
double trace_G;
HYPBSLMM cHyp_initial;
@@ -88,7 +89,7 @@ public:
vector<SNPINFO> snpInfo;
// Not included in PARAM.
- gsl_rng *gsl_r;
+ // gsl_rng *gsl_r;
gsl_ran_discrete_t *gsl_t;
map<size_t, size_t> mapRank2pos;