zierenberg / MonteCarloX.jl

This is a julia package for advanced Monte Carlo simulations of classical equilibrium and non-equilibrium processes
MIT License
4 stars 0 forks source link

Add default updates that use global random number generator? #32

Closed zierenberg closed 4 years ago

zierenberg commented 4 years ago

In some cases, there are additional wrapper functions that include the Random.GLOBAL_RNG if no rng is specified. Should we do this everywhere (as in StatsBase?)

Advantage: quick random simulations Disadvantage: user not forced to choose rng and consequently the seed

zierenberg commented 4 years ago

@fmikulasch : I forgot I asked myself this question and have just done this now. Should we nonetheless reconsider? I think that educating users is in principle a good point ...

zierenberg commented 4 years ago

Agreed to keep it now