Skip to content

Commit 99ffbbe

Browse files
committed
Remove dead code
1 parent 3e54c2d commit 99ffbbe

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/context_implementations.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
using Distributions:
22
UnivariateDistribution, MultivariateDistribution, MatrixDistribution, Distribution
33

4-
const AMBIGUITY_MSG =
5-
"Ambiguous `LHS .~ RHS` or `@. LHS ~ RHS` syntax. The broadcasting " *
6-
"can either be column-wise following the convention of Distributions.jl or " *
7-
"element-wise following Julia's general broadcasting semantics. Please make sure " *
8-
"that the element type of `LHS` is not a supertype of the support type of " *
9-
"`AbstractVector` to eliminate ambiguity."
10-
114
alg_str(spl::Sampler) = string(nameof(typeof(spl.alg)))
125

13-
# utility funcs for querying sampler information
14-
require_gradient(spl::Sampler) = false
15-
require_particles(spl::Sampler) = false
16-
176
# Allows samplers, etc. to hook into the final logp accumulation in the tilde-pipeline.
187
function acclogp_assume!!(context::AbstractContext, vi::AbstractVarInfo, logp)
198
return acclogp_assume!!(NodeTrait(acclogp_assume!!, context), context, vi, logp)

0 commit comments

Comments
 (0)