Skip to content

Commit f089795

Browse files
committed
fix compilation
1 parent 028ed9e commit f089795

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bgmCompare_helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ inline void initialise_graph(
7575
const arma::imat& main_indices,
7676
const arma::imat& pairwise_indices,
7777
const arma::mat& incl_prob,
78-
dqrng::xoshiro256plus& rng
78+
SafeRNG& rng
7979
) {
8080
int V = indicator.n_rows;
8181
int G = main.n_cols;

src/bgmCompare_sampler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
struct SafeRNG;
66

7-
Rcpp::List run_gibbs_sampler_for_bgmCompare(
7+
SamplerOutput run_gibbs_sampler_for_bgmCompare(
88
int chain_id,
99
arma::imat observations,
1010
const int num_groups,

src/rng_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ inline arma::uvec arma_randperm(SafeRNG& rng, arma::uword n) {
107107
std::iota(out.begin(), out.end(), 0);
108108
std::shuffle(out.begin(), out.end(), rng.eng);
109109
return out;
110-
}
110+
}

0 commit comments

Comments
 (0)