Skip to content

Commit 9d0edc4

Browse files
committed
Tidy up check_model
1 parent f8c45c2 commit 9d0edc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/debug_utils.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,8 @@ function check_model_and_trace(
426426

427427
# TODO(penelopeysm): Implement merge, etc. for DebugAccumulator, and then perform a
428428
# check on the merged accumulator, rather than checking it in the accumulate_assume
429-
# calls. That way we can also support multi-threaded evaluation and use `evaluate!!`
430-
# here instead of `_evaluate!!`.
431-
_, varinfo = DynamicPPL._evaluate!!(model, varinfo)
429+
# calls. That way we can also correctly support multi-threaded evaluation.
430+
_, varinfo = DynamicPPL.evaluate!!(model, varinfo)
432431

433432
# Perform checks after evaluating the model.
434433
debug_acc = DynamicPPL.getacc(varinfo, Val(_DEBUG_ACC_NAME))

0 commit comments

Comments
 (0)