Skip to content

Commit

Permalink
Fix random seed for _apply_method test (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 authored Jul 5, 2024
1 parent ff104c4 commit 26822f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EpiAware/test/EpiInference/NUTSampler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
end

@testitem "NUTSampler __apply_method" begin
using Turing, Suppressor, HypothesisTests
using Turing, Suppressor, HypothesisTests, Random
Random.seed!(1234)
@model function test_mdl()
x ~ Normal(0, 1)
end
Expand Down
1 change: 1 addition & 0 deletions EpiAware/test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
Pathfinder = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Expand Down

0 comments on commit 26822f4

Please sign in to comment.