Skip to content

Commit

Permalink
Another Bijectors.jl compat bound bump (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Feb 9, 2023
1 parent 0d82a65 commit 8532375
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Project.toml
@@ -1,6 +1,6 @@
name = "DynamicPPL"
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
version = "0.22.0"
version = "0.22.1"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand All @@ -24,7 +24,7 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
AbstractMCMC = "2, 3.0, 4"
AbstractPPL = "0.5.3"
BangBang = "0.3"
Bijectors = "0.11"
Bijectors = "0.11, 0.12"
ChainRulesCore = "0.9.7, 0.10, 1"
ConstructionBase = "1"
Distributions = "0.23.8, 0.24, 0.25"
Expand Down
4 changes: 2 additions & 2 deletions test/Project.toml
Expand Up @@ -23,7 +23,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
[compat]
AbstractMCMC = "2.1, 3.0, 4"
AbstractPPL = "0.5.1, 0.6"
Bijectors = "0.11"
Bijectors = "0.11, 0.12"
Distributions = "0.25"
DistributionsAD = "0.6.3"
Documenter = "0.26.1, 0.27"
Expand All @@ -33,6 +33,6 @@ MCMCChains = "4.0.4, 5"
MacroTools = "0.5.5"
Setfield = "0.7.1, 0.8, 1"
StableRNGs = "1"
Tracker = "0.2.11"
Tracker = "0.2.23"
Zygote = "0.5.4, 0.6"
julia = "1.6"
7 changes: 2 additions & 5 deletions test/test_util.jl
Expand Up @@ -13,11 +13,8 @@ function test_model_ad(model, logp_manual)
x = DynamicPPL.getall(vi)

# Log probabilities using the model.
function logp_model(x)
new_vi = VarInfo(vi, SampleFromPrior(), x)
model(new_vi)
return getlogp(new_vi)
end
= DynamicPPL.LogDensityFunction(model, vi)
logp_model = Base.Fix1(LogDensityProblems.logdensity, ℓ)

# Check that both functions return the same values.
lp = logp_manual(x)
Expand Down

2 comments on commit 8532375

@torfjelde
Copy link
Member Author

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.

Registration pull request created: JuliaRegistries/General/77383

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.22.1 -m "<description of version>" 8532375bb91e00c56902f5339009d5d8910c9ae1
git push origin v0.22.1

Please sign in to comment.