From 48c9afb8726e85876aee3b55a9e3f86e27b7d025 Mon Sep 17 00:00:00 2001 From: Hong Ge <3279477+yebai@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:40:04 +0100 Subject: [PATCH] Update distributions.jl --- test/ad/distributions.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/ad/distributions.jl b/test/ad/distributions.jl index c639c60..66c910b 100644 --- a/test/ad/distributions.jl +++ b/test/ad/distributions.jl @@ -61,8 +61,9 @@ DistSpec(Poisson, (0.5,), 1), DistSpec(Poisson, (0.5,), [1, 1]), - DistSpec(Skellam, (1.0, 2.0), -2), - DistSpec(Skellam, (1.0, 2.0), [-2, -2]), + # Enzyme: no forward rule for ccall + DistSpec(Skellam, (1.0, 2.0), -2, broken=(:Zygote,)), + DistSpec(Skellam, (1.0, 2.0), [-2, -2], broken=(:Zygote,)), DistSpec(PoissonBinomial, ([0.5, 0.5],), 0),