Skip to content

Commit

Permalink
Update ext/DynamicPPLReverseDiffExt.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
sunxd3 and github-actions[bot] authored Jul 1, 2024
1 parent 66367a7 commit 7345a88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/DynamicPPLReverseDiffExt.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module DynamicPPLReverseDiffExt

if isdefined(Base, :get_extension)
using DynamicPPL: Accessors, ADTypes, DynamicPPL, LogDensityProblems, LogDensityProblemsAD
using DynamicPPL:
Accessors, ADTypes, DynamicPPL, LogDensityProblems, LogDensityProblemsAD
using ReverseDiff
else
using ..DynamicPPL: Accessors, ADTypes, DynamicPPL, LogDensityProblems, LogDensityProblemsAD
Expand Down

0 comments on commit 7345a88

Please sign in to comment.