Skip to content

Commit

Permalink
Merge 2db0bd8 into 4419d6f
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericWantiez committed Oct 31, 2022
2 parents 4419d6f + 2db0bd8 commit a0d61bb
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 402 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AdvancedPS"
uuid = "576499cb-2369-40b2-a588-c64705576edc"
authors = ["TuringLang"]
version = "0.4.1"
version = "0.4.2"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand All @@ -14,7 +14,7 @@ StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
[compat]
AbstractMCMC = "2, 3, 4"
Distributions = "0.23, 0.24, 0.25"
Libtask = "0.7, 0.8"
Libtask = "0.8"
Random123 = "1.3"
StatsFuns = "0.9, 1"
julia = "1.3"
336 changes: 0 additions & 336 deletions src/contrib/AdvancedSMCExtensions.jl

This file was deleted.

3 changes: 0 additions & 3 deletions src/rng.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,3 @@ Random123.set_counter!(r::TracedRNG, n::Integer) = r.count = n
Increase the model step counter by `n`
"""
inc_counter!(r::TracedRNG, n::Integer=1) = r.count += n

# Handle mutating RNG properly when forking the tape in Libtask
Libtask.tape_copy(rng::TracedRNG) = copy(rng)
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
AbstractMCMC = "2, 3, 4"
Distributions = "0.24, 0.25"
Libtask = "0.7, 0.8"
Libtask = "0.8"
Random123 = "1.3"
julia = "1.3"
Loading

0 comments on commit a0d61bb

Please sign in to comment.