Skip to content

Commit 07246b5

Browse files
committed
Fix test
1 parent 893adcb commit 07246b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/modeling_library/product.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ discrete_product = ProductDistribution(bernoulli, binom)
1919
@test isapprox(actual, expected)
2020

2121
# test logpdf_grad against finite differencing
22-
f = (x, p, mu, std) -> logpdf(discrete_product, x, p, mu, std)
23-
args = (x, p, mu, std)
22+
f = (x, p1, n, p2) -> logpdf(discrete_product, x, p1, n, p2)
23+
args = (x, p1, n, p2)
2424
actual = logpdf_grad(discrete_product, args...)
2525
for (i, b) in enumerate(grad_bools)
2626
if b

0 commit comments

Comments
 (0)