Skip to content

Commit c24c747

Browse files
committed
Undo getadtype stuff
1 parent ca14471 commit c24c747

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/sampler.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ Sampler(alg) = Sampler(alg, Selector())
5454
Sampler(alg, model::Model) = Sampler(alg, model, Selector())
5555
Sampler(alg, model::Model, s::Selector) = Sampler(alg, s)
5656

57-
# Extract the AD type from the underlying algorithm
58-
getadtype(s::Sampler) = getadtype(s.alg)
59-
6057
# AbstractMCMC interface for SampleFromUniform and SampleFromPrior
6158
function AbstractMCMC.step(
6259
rng::Random.AbstractRNG,

0 commit comments

Comments
 (0)