Skip to content

Commit ceea66a

Browse files
committed
Remove remaining references to dead stuff
1 parent 75f84b0 commit ceea66a

File tree

4 files changed

+2
-64
lines changed

4 files changed

+2
-64
lines changed

src/debug_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ and checking if the model is consistent across runs.
475475
function has_static_constraints(
476476
rng::Random.AbstractRNG, model::Model; num_evals::Int=5, error_on_failure::Bool=false
477477
)
478-
new_model = DynamicPPL.contextualize(model, SamplingContext(rng, SampleFromPrior()))
478+
new_model = DynamicPPL.contextualize(model, InitContext(rng))
479479
results = map(1:num_evals) do _
480480
check_model_and_trace(new_model, VarInfo(); error_on_failure=error_on_failure)
481481
end

test/debug_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
model = demo_missing_in_multivariate([1.0, missing])
150150
# Have to run this check_model call with an empty varinfo, because actually
151151
# instantiating the VarInfo would cause it to throw a MethodError.
152-
model = contextualize(model, SamplingContext())
152+
model = contextualize(model, InitContext())
153153
@test_throws ErrorException check_model(model, VarInfo(); error_on_failure=true)
154154
end
155155

test/lkj.jl

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

test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ include("test_util.jl")
6767
include("linking.jl")
6868
include("serialization.jl")
6969
include("pointwise_logdensities.jl")
70-
include("lkj.jl")
7170
include("contexts.jl")
7271
include("context_implementations.jl")
7372
include("threadsafe.jl")

0 commit comments

Comments
 (0)