This commit is contained in:
Simon Cruanes 2026-01-12 20:47:55 -05:00
parent 55a5d1ed88
commit 31aadebfd6
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -5,7 +5,7 @@ type t = {
}
let create ~proba_accept () : t =
(* FIXME: either czzry a random state and protect it, or make sure
(* FIXME: either create a random state and protect it, or make sure
we Random.self_init() in the current domain?? *)
if proba_accept < 0. || proba_accept > 1. then
invalid_arg "sampler: proba_accept must be in [0., 1.]";