Skip to content

Commit

Permalink
CompatHelper: bump compat for AdvancedHMC to 0.5 for package 0-intro-…
Browse files Browse the repository at this point in the history
…1d, (keep existing compat) (#372)

* CompatHelper: bump compat for AdvancedHMC to 0.5 for package 0-intro-1d, (keep existing compat)

* Update script.jl

---------

Co-authored-by: CompatHelper Julia <[email protected]>
Co-authored-by: Hong Ge <[email protected]>
  • Loading branch information
3 people authored Sep 15, 2023
1 parent 7d9f106 commit 92456df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/0-intro-1d/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"

[compat]
AbstractGPs = "0.5"
AdvancedHMC = "0.4"
AdvancedHMC = "0.4, 0.5"
Distributions = "0.25"
DynamicHMC = "3.3"
EllipticalSliceSampling = "1"
Expand Down
2 changes: 1 addition & 1 deletion examples/0-intro-1d/script.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ integrator = Leapfrog(initial_ϵ)
# - generalised No-U-Turn criteria, and
# - windowed adaption for step-size and diagonal mass matrix

proposal = NUTS{MultinomialTS,GeneralisedNoUTurn}(integrator)
proposal = HMCKernel(Trajectory{MultinomialTS}(integrator, GeneralisedNoUTurn()))
adaptor = StanHMCAdaptor(MassMatrixAdaptor(metric), StepSizeAdaptor(0.8, integrator))
#md nothing #hide

Expand Down

2 comments on commit 92456df

@yebai
Copy link
Contributor

@yebai yebai commented on 92456df Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name v0.5.18 already exists and points to a different commit"

Please sign in to comment.