Mixture last argument can be float

This commit is contained in:
Ozzie Gooen 2022-04-30 13:43:46 -04:00
parent dabe76fed4
commit fd957ef401

View File

@ -131,6 +131,7 @@ module Helpers = {
| Error(err) => GenDistError(ArgumentError(err))
}
}
| Some(EvNumber(_))
| Some(EvDistribution(_)) =>
switch parseDistributionArray(args) {
| Ok(distributions) => mixtureWithDefaultWeights(distributions)