Sha256: 95e56b0bafbd5fee94569d1c4eda1fcffe8cbd4fa183450dde2054ccf0061ab7
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
0.1.4: ---------------- * fixing bug if we get a uniform distribution with duplicates and try to sample_unique for number of samples that's between # of distinct values and total # of values (had infinite loop :( ) * changed behavior when requesting to sample_unique with larger number than the total number of values in a distribution. instead of raising exception, just return unique set of all the valid values. this shouldn't break any existing implementations unless someone was depending on the exceptions being raised (that would be bad form).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
random_value_sampler-0.2.0 | CHANGELOG |
random_value_sampler-0.1.4 | CHANGELOG |