Skip to content

Commit 8933c81

Browse files
authored
Add support for AutoEnzyme in logdensityfunction (#1117)
1 parent c1ba0c5 commit 8933c81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/logdensityfunction.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ calculation; it is just that the DynamicPPL developers do not commit to
1111
maintaining compatibility with them.
1212
"""
1313
is_supported(::ADTypes.AbstractADType) = false
14+
is_supported(::ADTypes.AutoEnzyme) = true
1415
is_supported(::ADTypes.AutoForwardDiff) = true
1516
is_supported(::ADTypes.AutoMooncake) = true
1617
is_supported(::ADTypes.AutoReverseDiff) = true

0 commit comments

Comments
 (0)