brian-j-smith / Mamba.jl

Markov chain Monte Carlo (MCMC) for Bayesian analysis in julia
Other
253 stars 52 forks source link

srand is not defined #147

Open aus70 opened 5 years ago

aus70 commented 5 years ago

in the tutorial file at https://mambajl.readthedocs.io/en/latest/_downloads/line.jl, srand is not defined, I think it should be replaced by

using Random
Random.seed!(123)

Thanks

aus70 commented 5 years ago

already corrected in https://github.com/brian-j-smith/Mamba.jl/blob/master/doc/tutorial/line.jl Updating the link in the tutorial will solve the issue

brian-j-smith commented 5 years ago

As noted, corrected files are in the Mamba 0.12 documentation. The "latest" documentation link will be pointed to version 0.12 as soon as it is publicly released, for which we are just waiting on Gadfly. The latter is said to be imminent.