Mixture last argument can be float
This commit is contained in:
parent
dabe76fed4
commit
fd957ef401
|
@ -131,6 +131,7 @@ module Helpers = {
|
|||
| Error(err) => GenDistError(ArgumentError(err))
|
||||
}
|
||||
}
|
||||
| Some(EvNumber(_))
|
||||
| Some(EvDistribution(_)) =>
|
||||
switch parseDistributionArray(args) {
|
||||
| Ok(distributions) => mixtureWithDefaultWeights(distributions)
|
||||
|
|
Loading…
Reference in New Issue
Block a user