Skip to content

Commit

Permalink
Fix turing tests (#618)
Browse files Browse the repository at this point in the history
* fix turing tests

* fix missing imports
  • Loading branch information
yebai authored Jun 12, 2024
1 parent b0fc6e9 commit 96c0954
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/turing/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
DynamicPPL = "366bfd00-2699-11ea-058f-f148b4cae6d8"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand All @@ -9,5 +11,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
[compat]
DynamicPPL = "0.24, 0.25, 0.26, 0.27"
ReverseDiff = "1.15"
Turing = "0.31, 0.32, 0.33"
Turing = "0.33"
julia = "1.7"
2 changes: 2 additions & 0 deletions test/turing/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Random.seed!(100)
include(joinpath(pathof(DynamicPPL), "..", "..", "test", "test_util.jl"))
include(joinpath(pathof(Turing), "..", "..", "test", "test_utils", "numerical_tests.jl"))

using .NumericalTests: check_numerical

@testset "Turing" begin
include("compiler.jl")
include("loglikelihoods.jl")
Expand Down

0 comments on commit 96c0954

Please sign in to comment.