Skip to content

Commit 9aa0a9a

Browse files
committed
Remove unnecessary parens
1 parent 0527a84 commit 9aa0a9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context_implementations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This method is applied in the generated code for assumed variables, e.g., `x ~ N
4444
Falls back to `tilde(ctx, sampler, right, vn, inds, vi)`.
4545
"""
4646
function tilde_assume(ctx, sampler, right, vn, inds, vi)
47-
(value, logp) = tilde(ctx, sampler, right, vn, inds, vi)
47+
value, logp = tilde(ctx, sampler, right, vn, inds, vi)
4848
acclogp!(vi, logp)
4949
return value
5050
end
@@ -203,7 +203,7 @@ MvNormal()` where `x` does not occur in the model inputs.
203203
Falls back to `dot_tilde(ctx, sampler, right, left, vn, inds, vi)`.
204204
"""
205205
function dot_tilde_assume(ctx, sampler, right, left, vn, inds, vi)
206-
(value, logp) = dot_tilde(ctx, sampler, right, left, vn, inds, vi)
206+
value, logp = dot_tilde(ctx, sampler, right, left, vn, inds, vi)
207207
acclogp!(vi, logp)
208208
return value
209209
end

0 commit comments

Comments
 (0)