Skip to content

Commit 082a780

Browse files
committed
Fix tests
1 parent 90c8a08 commit 082a780

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ad.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ using DynamicPPL.TestUtils.AD: run_ad, WithExpectedResult, NoTest
5252
if is_mooncake && is_1_11 && is_svi_vnv
5353
# https://github.com/compintell/Mooncake.jl/issues/470
5454
@test_throws ArgumentError DynamicPPL.LogDensityFunction(
55-
m, linked_varinfo; adtype=adtype
55+
m, getlogjoint, linked_varinfo; adtype=adtype
5656
)
5757
elseif is_mooncake && is_1_10 && is_svi_vnv
5858
# TODO: report upstream
5959
@test_throws UndefRefError DynamicPPL.LogDensityFunction(
60-
m, linked_varinfo; adtype=adtype
60+
m, getlogjoint, linked_varinfo; adtype=adtype
6161
)
6262
elseif is_mooncake && is_1_10 && is_svi_od
6363
# TODO: report upstream
6464
@test_throws Mooncake.MooncakeRuleCompilationError DynamicPPL.LogDensityFunction(
65-
m, linked_varinfo; adtype=adtype
65+
m, getlogjoint, linked_varinfo; adtype=adtype
6666
)
6767
else
6868
@test run_ad(

0 commit comments

Comments
 (0)