File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
test/MarkovChainMonteCarlo Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ ProgressBars = "49802e3a-d2f1-5c88-81d8-b72133a6f568"
2222PyCall = " 438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
2323Random = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2424RandomFeatures = " 36c3bae2-c0c3-419d-b3b4-eebadd35c5e5"
25+ ReverseDiff = " 37e2e3b7-166d-5795-8a7a-e32c996b4267"
2526ScikitLearn = " 3646fa90-6ef7-5e7e-9f22-8aca16db6324"
2627StableRNGs = " 860ef19b-820b-49d6-a774-d7a799459cd3"
2728Statistics = " 10745b16-79ce-11e8-11f9-7d13ad32a3b2"
@@ -44,6 +45,7 @@ ProgressBars = "1"
4445PyCall = " 1.93"
4546Random = " 1"
4647RandomFeatures = " 0.3"
48+ ReverseDiff = " 1.15.3"
4749ScikitLearn = " 0.6, 0.7"
4850StableRNGs = " 1"
4951Statistics = " 1"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export EmulatorPosteriorModel,
2424 MCMCProtocol,
2525 GradFreeProtocol,
2626 ForwardDiffProtocol,
27- ReverseDiffProtocol,
27+ ReverseDiffProtocol,
2828 RWMHSampling,
2929 pCNMHSampling,
3030 BarkerSampling,
@@ -102,7 +102,7 @@ $(DocStringExtensions.TYPEDEF)
102102
103103Type to construct samplers for emulators compatible with `ReverseDiff.jl` autodifferentiation
104104"""
105- abstract type ReverseDiffProtocol <: AutodiffProtocol end
105+ abstract type ReverseDiffProtocol <: AutodiffProtocol end
106106# ...to be implemented...
107107#=
108108abstract type ZygoteProtocol <: AutodiffProtocol end
Original file line number Diff line number Diff line change 293293 mcmc_algs = [
294294 RWMHSampling(), # sanity-check
295295 BarkerSampling(), # ForwardDiffProtocol by default
296- BarkerSampling{ReverseDiffProtocol}() # scales to high dim better, but slow.
296+ BarkerSampling{ReverseDiffProtocol}(), # scales to high dim better, but slow.
297297 ]
298298
299299 # GPJL doesnt support ForwardDiff
You can’t perform that action at this time.
0 commit comments