Skip to content

Commit 218daa9

Browse files
committed
Remove remaining references to dead stuff
1 parent 00f9b27 commit 218daa9

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
@@ -70,7 +70,6 @@ include("test_util.jl")
7070
include("linking.jl")
7171
include("serialization.jl")
7272
include("pointwise_logdensities.jl")
73-
include("lkj.jl")
7473
include("contexts.jl")
7574
include("context_implementations.jl")
7675
include("threadsafe.jl")

0 commit comments

Comments
 (0)