Skip to content

Commit 373e087

Browse files
committed
Fix imports
1 parent 379e2dd commit 373e087

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mcmc/Inference.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
module Inference
22

33
using DynamicPPL:
4+
DynamicPPL,
45
@model,
56
Metadata,
67
VarInfo,
8+
LogDensityFunction,
9+
SimpleVarInfo,
10+
AbstractVarInfo,
711
# TODO(mhauru) all_varnames_grouped_by_symbol isn't exported by DPPL, because it is only
812
# implemented for NTVarInfo. It is used by mh.jl. Either refactor mh.jl to not use it
913
# or implement it for other VarInfo types and export it from DPPL.
@@ -24,6 +28,7 @@ using DynamicPPL:
2428
DefaultContext,
2529
PriorContext,
2630
LikelihoodContext,
31+
SamplingContext,
2732
set_flag!,
2833
unset_flag!
2934
using Distributions, Libtask, Bijectors
@@ -32,7 +37,6 @@ using LinearAlgebra
3237
using ..Turing: PROGRESS, Turing
3338
using StatsFuns: logsumexp
3439
using Random: AbstractRNG
35-
using DynamicPPL
3640
using AbstractMCMC: AbstractModel, AbstractSampler
3741
using DocStringExtensions: FIELDS, TYPEDEF, TYPEDFIELDS
3842
using DataStructures: OrderedSet

0 commit comments

Comments
 (0)