Skip to content

Conversation

@vandenman
Copy link
Collaborator

@vandenman vandenman commented Sep 10, 2025

tested with

library(bgms)
x = Wenchuan[1:50, 1:5]
p = ncol(x)

samples1 = bgm(x, iter = 1000, nuts_max_depth = 10, cores = 4, chains = 4, seed = 1234)
samples2 = bgm(x, iter = 1000, nuts_max_depth = 10, cores = 4, chains = 4, seed = 1234)

print(all.equal(samples1$raw_samples$main,     samples2$raw_samples$main))
print(all.equal(samples1$raw_samples$pairwise, samples2$raw_samples$pairwise))

prints TRUE for both (on my machine).

@MaartenMarsman
Copy link
Collaborator

Comment

@vandenman vandenman deleted the fix_parallel_rng branch September 10, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants