Skip to content

Commit

Permalink
Update deprecates.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 30, 2024
1 parent aa24b90 commit 3ffdf43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ end

# Deprecate `MatrixReshaped`
const MatrixReshaped{S<:ValueSupport,D<:MultivariateDistribution{S}} = ReshapedDistribution{2,S,D}
Base.deprecate(Distributions, :MatrixReshaped)
Base.deprecate(@__MODULE__, :MatrixReshaped)
@deprecate MatrixReshaped(
d::MultivariateDistribution, n::Integer, p::Integer=n
) reshape(d, (n, p))
Expand Down

0 comments on commit 3ffdf43

Please sign in to comment.