Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Jul 9, 2024
1 parent c95342e commit 8647c81
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using Pkg
Pkg.add(Pkg.PackageSpec(; url="https://github.com/EnzymeAD/Enzyme.jl.git", rev="main"))

using DistributionsAD

using Combinatorics
Expand All @@ -15,6 +12,10 @@ using DistributionsAD: TuringMvNormal, TuringMvLogNormal,
TuringPoissonBinomial, TuringDirichlet
using StatsFuns: StatsFuns, logsumexp, logistic

import Enzyme
# Enable runtime activity (workaround)
Enzyme.API.runtimeActivity!(true)

@static if VERSION >= v"1.8"
using Pkg; Pkg.status(outdated=true) # show reasons why packages are held back
end
Expand Down

0 comments on commit 8647c81

Please sign in to comment.