Skip to content

Commit

Permalink
Format code
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 Aug 6, 2024
1 parent 6d76453 commit fbe0d30
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/context_implementations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ end
function tilde_assume(rng::Random.AbstractRNG, context::AbstractContext, args...)
return tilde_assume(NodeTrait(tilde_assume, context), rng, context, args...)
end
function tilde_assume(::IsLeaf, rng::Random.AbstractRNG, context::AbstractContext, sampler, right, vn, vi)
function tilde_assume(
::IsLeaf, rng::Random.AbstractRNG, context::AbstractContext, sampler, right, vn, vi
)
return assume(rng, sampler, right, vn, vi)
end
function tilde_assume(::IsParent, rng::Random.AbstractRNG, context::AbstractContext, args...)
function tilde_assume(
::IsParent, rng::Random.AbstractRNG, context::AbstractContext, args...
)
return tilde_assume(rng, childcontext(context), args...)
end

Expand Down Expand Up @@ -121,7 +125,9 @@ end
function tilde_assume(context::PrefixContext, right, vn, vi)
return tilde_assume(context.context, right, prefix(context, vn), vi)
end
function tilde_assume(rng::Random.AbstractRNG, context::PrefixContext, sampler, right, vn, vi)
function tilde_assume(
rng::Random.AbstractRNG, context::PrefixContext, sampler, right, vn, vi
)
return tilde_assume(rng, context.context, sampler, right, prefix(context, vn), vi)
end

Expand Down

0 comments on commit fbe0d30

Please sign in to comment.