Closed longouyang closed 11 years ago
sample-integer is currently written in terms of the uniform distribution on [0,1].
sample-integer
This obviously won't work for enumeration-query, e.g.,
enumeration-query
(enumeration-query (sample-integer 5) true)
does not return a distribution on [0,1,2,3,4]
Fixed in ec453e5472d5f09d1d8bd9c2b45aa2753dd9e45c.
sample-integer
is currently written in terms of the uniform distribution on [0,1].This obviously won't work for
enumeration-query
, e.g.,does not return a distribution on [0,1,2,3,4]