Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Jan 13, 2021
1 parent 2bbed8c commit 917d436
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/deprecates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ for fun in (:pdf, :logpdf)
# `eachcol` requires Julia 1.1
@static if VERSION < v"1.1"
@eval begin
@deprecate ($_fun!)(r::AbstractArray, d::MultivariateDistribution, X::AbstractMatrix) r .= ($fun).(Ref(d), (view(x, :, i) for i in axes(x, 2))) false
@deprecate ($fun!)(r::AbstractArray, d::MultivariateDistribution, X::AbstractMatrix) r .= ($fun).(Ref(d), (view(x, :, i) for i in axes(x, 2)))
@deprecate ($fun)(d::MultivariateDistribution, X::AbstractMatrix) ($fun).(Ref(d), (view(x, :, i) for i in axes(x, 2)))
@deprecate ($_fun!)(r::AbstractArray, d::MultivariateDistribution, X::AbstractMatrix) r .= ($fun).(Ref(d), (view(X, :, i) for i in axes(X, 2))) false
@deprecate ($fun!)(r::AbstractArray, d::MultivariateDistribution, X::AbstractMatrix) r .= ($fun).(Ref(d), (view(X, :, i) for i in axes(X, 2)))
@deprecate ($fun)(d::MultivariateDistribution, X::AbstractMatrix) ($fun).(Ref(d), (view(X, :, i) for i in axes(X, 2)))
end
else
@eval begin
Expand Down

0 comments on commit 917d436

Please sign in to comment.