Skip to content

Commit

Permalink
Update ext/DynamicPPLTestExt/contexts.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
penelopeysm and github-actions[bot] authored Nov 27, 2024
1 parent 9b38be4 commit b93e581
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/DynamicPPLTestExt/contexts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ end
function DynamicPPL.TestUtils.TestLogModifyingChildContext(
mod=1.2, context::DynamicPPL.AbstractContext=DynamicPPL.DefaultContext()
)
return DynamicPPL.TestUtils.TestLogModifyingChildContext{typeof(mod),typeof(context)}(mod, context)
return DynamicPPL.TestUtils.TestLogModifyingChildContext{typeof(mod),typeof(context)}(
mod, context
)
end

DynamicPPL.NodeTrait(::DynamicPPL.TestUtils.TestLogModifyingChildContext) = DynamicPPL.IsParent()
Expand Down

0 comments on commit b93e581

Please sign in to comment.