Skip to content

Commit 89a9346

Browse files
Update test/dirichlet.jl
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
1 parent 25a41f3 commit 89a9346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dirichlet.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ end
133133
alpha = rand(n)
134134
Δalpha = randn(n)
135135
d, ∂d = ChainRulesCore.frule((nothing, Δalpha), Dirichlet, alpha)
136-
ChainRulesTestUtils.test_frule(Dirichlet ChainRulesCore.NoTangent(), alpha Δalpha)
136+
ChainRulesTestUtils.test_frule(Dirichlet ChainRulesCore.NoTangent(), alpha Δalpha; fdm=FiniteDifferences.forward_fdm(5, 1))
137137
_, dp = ChainRulesCore.rrule(Dirichlet, alpha)
138138
ChainRulesTestUtils.test_rrule(Dirichlet{Float64}, alpha)
139139
x = rand(n)

0 commit comments

Comments
 (0)