Skip to content

Commit 0c76bf2

Browse files
sunxd3github-actions[bot]yebai
authored
Remove the prob and logprob macros (#604)
* remove files * add alternative prob macro impl back to warn user * export again * Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * remove the macros * Update src/DynamicPPL.jl Co-authored-by: Hong Ge <[email protected]> * Update src/DynamicPPL.jl --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hong Ge <[email protected]>
1 parent 48487cc commit 0c76bf2

File tree

6 files changed

+0
-423
lines changed

6 files changed

+0
-423
lines changed

src/DynamicPPL.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ export AbstractVarInfo,
116116
# Pseudo distributions
117117
NamedDist,
118118
NoDist,
119-
# Prob macros
120-
@prob_str,
121-
@logprob_str,
122119
# Convenience functions
123120
logprior,
124121
logjoint,
@@ -172,7 +169,6 @@ include("varinfo.jl")
172169
include("simple_varinfo.jl")
173170
include("context_implementations.jl")
174171
include("compiler.jl")
175-
include("prob_macro.jl")
176172
include("loglikelihoods.jl")
177173
include("submodel_macro.jl")
178174
include("test_utils.jl")

src/prob_macro.jl

Lines changed: 0 additions & 244 deletions
This file was deleted.

test/prob_macro.jl

Lines changed: 0 additions & 72 deletions
This file was deleted.

test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ include("test_util.jl")
4242
include("simple_varinfo.jl")
4343
include("model.jl")
4444
include("sampler.jl")
45-
include("prob_macro.jl")
4645
include("independence.jl")
4746
include("distribution_wrappers.jl")
4847
include("contexts.jl")

0 commit comments

Comments
 (0)