I think we're done here?
This commit is contained in:
parent
ab5b54413b
commit
ab9a83bcf7
|
@ -516,7 +516,7 @@ let mixture = (
|
|||
switch value {
|
||||
| SampleSet(sampleSet) => Ok((sampleSet, weight))
|
||||
| _ => Error("Unreachable")
|
||||
} |> E.R.toExn("Mixture coding error: SampleSet expected. This should be inaccessible.")
|
||||
}->E.R2.toExn("Mixture coding error: SampleSet expected. This should be inaccessible.")
|
||||
)
|
||||
let sampleSetMixture = SampleSetDist.mixture(withSampleSetValues, env.sampleCount)
|
||||
switch sampleSetMixture {
|
||||
|
|
|
@ -45,4 +45,5 @@ module Random = {
|
|||
size: int,
|
||||
}
|
||||
@module external sample: (array<float>, sampleArgs) => array<float> = "@stdlib/random/sample"
|
||||
let sample = sample
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user