We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 228edf9 + c88f7ba commit af19c44Copy full SHA for af19c44
src/gstools/random/rng.py
@@ -86,7 +86,7 @@ def sample_ln_pdf(
86
self.random.rand(nwalkers).reshape((nwalkers, 1)) * sample_around
87
)
88
# initialize the sampler
89
- sampler = mc.EnsembleSampler(nwalkers, 1, ln_pdf)
+ sampler = mc.EnsembleSampler(nwalkers, 1, ln_pdf, vectorize=True)
90
# burn in phase with saving of last position
91
initial_state = State(init_guess, copy=True)
92
initial_state.random_state = self.random.get_state()
0 commit comments