diff --git a/.github/workflows/AD.yml b/.github/workflows/AD.yml index ebbd9179..2012de7d 100644 --- a/.github/workflows/AD.yml +++ b/.github/workflows/AD.yml @@ -17,7 +17,6 @@ jobs: - '1' os: - ubuntu-latest - - macOS-latest arch: - x64 AD: @@ -25,6 +24,23 @@ jobs: - Tracker - ReverseDiff - Zygote + include: + - version: '1' + os: macOS-latest + arch: x64 + AD: ForwardDiff + - version: '1' + os: macOS-latest + arch: x64 + AD: Tracker + - version: '1' + os: macOS-latest + arch: x64 + AD: ReverseDiff + - version: '1' + os: macOS-latest + arch: x64 + AD: Zygote steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 diff --git a/.github/workflows/Others.yml b/.github/workflows/Others.yml index e3ad9cb0..dd8e346c 100644 --- a/.github/workflows/Others.yml +++ b/.github/workflows/Others.yml @@ -16,9 +16,12 @@ jobs: - '1' os: - ubuntu-latest - - macOS-latest arch: - x64 + include: + - version: '1' + os: macOS-latest + arch: x64 steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 diff --git a/Project.toml b/Project.toml index 3f6c560f..98d32e6c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DistributionsAD" uuid = "ced4e74d-a319-5a8a-b0ac-84af2272839c" -version = "0.6.29" +version = "0.6.30" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/src/reversediff.jl b/src/reversediff.jl index 54344f15..c01d09a6 100644 --- a/src/reversediff.jl +++ b/src/reversediff.jl @@ -18,7 +18,7 @@ using ..DistributionsAD: DistributionsAD import SpecialFunctions, NaNMath -import ..DistributionsAD: turing_chol, symm_turing_chol, _mv_categorical_logpdf, adapt_randn, +import ..DistributionsAD: turing_chol, symm_turing_chol, adapt_randn, simplex_logpdf import Base.Broadcast: materialize import StatsFuns: logsumexp diff --git a/test/ad/distributions.jl b/test/ad/distributions.jl index 20ba2149..023f8b62 100644 --- a/test/ad/distributions.jl +++ b/test/ad/distributions.jl @@ -73,8 +73,8 @@ DistSpec(Beta, (1.0, 2.0), 0.5), DistSpec(BetaPrime, (), 0.5), - DistSpec(BetaPrime, (1.0,), 0.5), - DistSpec(BetaPrime, (1.0, 2.0), 0.5), + DistSpec(BetaPrime, (1.5,), 0.5), + DistSpec(BetaPrime, (1.5, 2.0), 0.5), DistSpec(Biweight, (), 0.5), DistSpec(Biweight, (1.0,), 0.5),