Skip to content

Commit 3e6b2db

Browse files
committed
Fix tests
1 parent 41c32a0 commit 3e6b2db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/ad.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,12 @@ using DynamicPPL: LogDensityFunction
5858
)
5959
else
6060
# TODO: Should we test linked as well?
61-
DynamicPPL.TestUtils.AD.run_ad(
61+
@test DynamicPPL.TestUtils.AD.run_ad(
6262
m,
6363
adtype;
64-
linked=false,
6564
varinfo=varinfo,
6665
expected_value_and_grad=(ref_logp, ref_grad),
67-
)
66+
) isa Any
6867
end
6968
end
7069
end

0 commit comments

Comments
 (0)