From 7b762379ea8da40226b761d482aa0a3a62046e28 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sun, 11 Oct 2020 21:36:05 +0200 Subject: [PATCH] Replace deprecated `elementwise_loglikelihoods` with `pointwise_loglikelihoods` (#1438) --- Project.toml | 4 ++-- src/Turing.jl | 4 +++- test/Project.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index ec908d3c4..5d1dcd63b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Turing" uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" -version = "0.14.8" +version = "0.14.9" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" @@ -39,7 +39,7 @@ Bijectors = "0.8" Distributions = "0.23.3" DistributionsAD = "0.6" DocStringExtensions = "0.8" -DynamicPPL = "0.9.2" +DynamicPPL = "0.9.5" EllipticalSliceSampling = "0.2, 0.3" ForwardDiff = "0.10.3" Libtask = "0.4" diff --git a/src/Turing.jl b/src/Turing.jl index 3409736e9..0ff5de3ea 100644 --- a/src/Turing.jl +++ b/src/Turing.jl @@ -75,7 +75,8 @@ end # Exports # ########### # `using` statements for stuff to re-export -using DynamicPPL: elementwise_loglikelihoods, generated_quantities, logprior, logjoint +using DynamicPPL: pointwise_loglikelihoods, elementwise_loglikelihoods, + generated_quantities, logprior, logjoint using StatsBase: predict # Turing essentials - modelling macros and inference algorithms @@ -130,6 +131,7 @@ export @model, # modelling arraydist, predict, + pointwise_loglikelihoods, elementwise_loglikelihoods, genereated_quantities, logprior, diff --git a/test/Project.toml b/test/Project.toml index 1b95f11d2..71d6fa70c 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -33,7 +33,7 @@ CmdStan = "6.0.8" Distributions = "0.23.8" DistributionsAD = "0.6.3" DynamicHMC = "2.1.6" -DynamicPPL = "0.9" +DynamicPPL = "0.9.5" FiniteDifferences = "0.10.8, 0.11" ForwardDiff = "0.10.12" MCMCChains = "4.0.4"