Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Penelope Yong <[email protected]>
  • Loading branch information
torfjelde and penelopeysm authored Nov 4, 2024
1 parent e66e6ae commit da6f9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context_implementations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ end
function dot_tilde_assume(context::FixedContext, right, left, vns, vi)
if !has_fixed_symbol(context, first(vns))
# Defer to `childcontext`.
return tilde_assume(childcontext(context), right, left, vns, vi)
return dot_tilde_assume(childcontext(context), right, left, vns, vi)
end

# If we're reached here, then we didn't hit the initial `getfixed` call in the model body.
Expand Down Expand Up @@ -350,7 +350,7 @@ function dot_tilde_assume(
)
if !has_fixed_symbol(context, first(vns))
# Defer to `childcontext`.
return tilde_assume(rng, childcontext(context), sampler, right, left, vns, vi)
return dot_tilde_assume(rng, childcontext(context), sampler, right, left, vns, vi)
end
# If we're reached here, then we didn't hit the initial `getfixed` call in the model body.
# So we need to check each of the vns.
Expand Down

0 comments on commit da6f9a0

Please sign in to comment.