Skip to content

Commit 181aca8

Browse files
CompatHelper: bump compat for "Zygote" to "0.6" for package test (#1496)
* CompatHelper: bump compat for "Zygote" to "0.6" for package test * Update hmc.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Cameron Pfiffer <[email protected]>
1 parent 6159e27 commit 181aca8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ SpecialFunctions = "0.10.3, 1"
5050
StatsBase = "0.33"
5151
StatsFuns = "0.9.5"
5252
Tracker = "0.2.11"
53-
Zygote = "0.5.4"
53+
Zygote = "0.5.4, 0.6"
5454
julia = "1.3"

test/inference/hmc.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ include(dir*"/test/test_utils/AllUtils.jl")
1010

1111
@testset "hmc.jl" begin
1212
@numerical_testset "constrained bounded" begin
13+
# Set a seed
14+
Random.seed!(5)
15+
1316
obs = [0,1,0,1,1,1,1,1,1,1]
1417

1518
@model constrained_test(obs) = begin

0 commit comments

Comments
 (0)