Skip to content

Commit

Permalink
update ADTypes in EpiAware and correct getting_started usage (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 authored Jun 26, 2024
1 parent 8166227 commit c392db1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EpiAware/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
ADTypes = "1.2"
ADTypes = "1.3"
AbstractMCMC = "5.2"
AdvancedHMC = "0.6"
DataFramesMeta = "0.15"
Expand Down
1 change: 1 addition & 0 deletions EpiAware/docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
AdvancedHMC = "0bf59076-c3b1-5ca4-86bd-e02cd72cde3d"
Changelog = "5217a498-cd5d-4ec6-b8c2-9b85a09b6e3e"
DataFramesMeta = "1313f7d8-7da2-5740-9ea0-a2ca25f37964"
Expand Down
2 changes: 1 addition & 1 deletion EpiAware/docs/src/examples/getting_started.jl
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ num_threads = min(10, Threads.nthreads())
# ╔═╡ 88b43e23-1e06-4716-b284-76e8afc6171b
inference_method = EpiMethod(
pre_sampler_steps = [ManyPathfinder(nruns = 4, maxiters = 100)],
sampler = NUTSampler(adtype = AutoReverseDiff(true),
sampler = NUTSampler(adtype = AutoReverseDiff(),
ndraws = 2000,
nchains = num_threads,
mcmc_parallel = MCMCThreads())
Expand Down

0 comments on commit c392db1

Please sign in to comment.