From 3ffdf4381551466fce08932b08dd479acc6ccfba Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Fri, 30 Aug 2024 15:14:23 -0400 Subject: [PATCH] Update deprecates.jl --- src/deprecates.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deprecates.jl b/src/deprecates.jl index 1872ec60e..3106154a5 100644 --- a/src/deprecates.jl +++ b/src/deprecates.jl @@ -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))