Closed veddox closed 6 months ago
I think this has to do with a Julia issue, where the state of the RNG is changed when a new task is spawned: https://github.com/JuliaLang/julia/pull/49110
ArgParse does work with tasks (see here), so this is probably the root cause of the issue. If so, it should be fixed with Julia 1.10.
Indeed this was fixed in Julia
I've just noticed that calling
parse_args()
changes the state of theGLOBAL_RNG
:Is there a reason for this? Since ArgParse doesn't even import Random, I don't understand why this happens, but it's giving me some problems with my own code.