From 6ebab49b9943780c2f22ad387e3e342ed2bc5511 Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Mon, 22 Jul 2024 08:29:07 +0100 Subject: [PATCH] add Compat to make new interface functions public --- Project.toml | 2 ++ src/AbstractMCMC.jl | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Project.toml b/Project.toml index 97c90709..02df4e3d 100644 --- a/Project.toml +++ b/Project.toml @@ -7,6 +7,7 @@ version = "5.2.0" [deps] BangBang = "198e06fe-97b7-11e9-32a5-e1d131e6ad66" +Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" ConsoleProgressMonitor = "88cd18e8-d9cc-4ea6-8889-5259c0d15c8b" Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" @@ -21,6 +22,7 @@ Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999" [compat] BangBang = "0.3.19, 0.4" +Compat = "4.15.0" ConsoleProgressMonitor = "0.1" FillArrays = "1" LogDensityProblems = "2" diff --git a/src/AbstractMCMC.jl b/src/AbstractMCMC.jl index 3b38c583..0ae15774 100644 --- a/src/AbstractMCMC.jl +++ b/src/AbstractMCMC.jl @@ -1,6 +1,7 @@ module AbstractMCMC using BangBang: BangBang +using Compat using ConsoleProgressMonitor: ConsoleProgressMonitor using LogDensityProblems: LogDensityProblems using LoggingExtras: LoggingExtras @@ -21,6 +22,8 @@ export sample # Parallel sampling types export MCMCThreads, MCMCDistributed, MCMCSerial +@compat public recompute_logprob!!, getparams + """ AbstractChains