Merge pull request #444 from quantified-uncertainty/mixture-last-arg-fix
Mixture last argument can be float
This commit is contained in:
commit
ad16c08e9c
|
@ -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