Skip to content

Commit

Permalink
remove ambiguous method (#1015)
Browse files Browse the repository at this point in the history
* remove ambiguous method

* bump project version
  • Loading branch information
matbesancon authored Nov 15, 2019
1 parent a1df819 commit a2304a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Distributions"
uuid = "31c24e10-a181-5473-b8eb-7969acd0382f"
authors = ["JuliaStats"]
version = "0.21.8"
version = "0.21.9"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion src/multivariate/product.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mean(d::Product) = mean.(d.v)
var(d::Product) = var.(d.v)
cov(d::Product) = Diagonal(var(d))
entropy(d::Product) = sum(entropy, d.v)
insupport(d::Product, x::AbstractArray) = all(insupport.(d.v, x))
insupport(d::Product, x::AbstractVector) = all(insupport.(d.v, x))

"""
product_distribution(dists::AbstractVector{<:UnivariateDistribution})
Expand Down

0 comments on commit a2304a8

Please sign in to comment.