Skip to content

Commit

Permalink
Merge branch 'main' into adtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed May 27, 2024
2 parents a83b279 + f1a12e1 commit 59a12a5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Pathfinder"
uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454"
authors = ["Seth Axen <[email protected]> and contributors"]
version = "0.8.4"
version = "0.8.7"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down Expand Up @@ -40,7 +40,7 @@ Accessors = "0.1.12"
ADTypes = "0.2"
Distributions = "0.25.87"
DynamicHMC = "3.4.0"
DynamicPPL = "0.24.7"
DynamicPPL = "0.24.7, 0.25, 0.27"
Folds = "0.2.2"
ForwardDiff = "0.10.19"
IrrationalConstants = "0.1.1, 0.2"
Expand All @@ -49,7 +49,7 @@ LogDensityProblems = "2.1.0"
MCMCChains = "6.0.2"
Optim = "1.7.2"
Optimization = "3.16.0"
OptimizationOptimJL = "0.1.7, 0.2"
OptimizationOptimJL = "0.1.7, 0.2, 0.3"
PDMats = "0.11.26"
PSIS = "0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9"
ProgressLogging = "0.1.4"
Expand All @@ -59,7 +59,7 @@ SciMLBase = "1.95.0, 2"
Statistics = "1.6"
StatsBase = "0.33.2, 0.34"
Transducers = "0.4.66"
Turing = "0.30.5"
Turing = "0.30.5, 0.31, 0.32"
UnPack = "1"
julia = "1.6"

Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ StatsFuns = "1"
StatsPlots = "0.14.21, 0.15"
TransformVariables = "0.6.2, 0.7, 0.8"
TransformedLogDensities = "1.0.2"
Turing = "0.30.5"
Turing = "0.30.5, 0.31, 0.32"
9 changes: 6 additions & 3 deletions src/transducers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function _findmax(x)
end
end

# WARNING: Type piracy!
# https://github.com/JuliaFolds/Transducers.jl/issues/521
Base.size(x::Transducers.ProgressLoggingFoldable) = size(x.foldable)
if !hasmethod(size, Tuple{Transducers.ProgressLoggingFoldable})
# WARNING: Type piracy!
# https://github.com/JuliaFolds/Transducers.jl/issues/521
# this method is necessary for Transducers version earlier than v0.4.82
Base.size(x::Transducers.ProgressLoggingFoldable) = size(x.foldable)
end
2 changes: 1 addition & 1 deletion test/integration/Turing/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
Pathfinder = "0.8"
Turing = "0.30.5"
Turing = "0.30.5, 0.31, 0.32"
julia = "1.6"

0 comments on commit 59a12a5

Please sign in to comment.