Skip to content

Commit b219803

Browse files
authored
mark the MatrixReshaped type as deprecated (#1893)
* mark the MatrixReshaped type as deprecated * Update deprecates.jl
1 parent e1340f0 commit b219803

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/deprecates.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ end
5454

5555
# Deprecate `MatrixReshaped`
5656
const MatrixReshaped{S<:ValueSupport,D<:MultivariateDistribution{S}} = ReshapedDistribution{2,S,D}
57+
Base.deprecate(@__MODULE__, :MatrixReshaped)
5758
@deprecate MatrixReshaped(
5859
d::MultivariateDistribution, n::Integer, p::Integer=n
5960
) reshape(d, (n, p))

0 commit comments

Comments
 (0)