Skip to content

Commit

Permalink
fixed incorrect call to acclogp_assume!!
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde authored Nov 28, 2024
1 parent 361c45e commit 545cfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context_implementations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ function get_and_set_val!(
push!!.((vi,), vns, _link_broadcast_new.((vi,), vns, dists, r), dists, (spl,))
# NOTE: Need to add the correction.
# FIXME: This is not great.
acclogp_assume!!(vi, sum(logabsdetjac.(link_transform.(dists), r)))
acclogp!!(vi, sum(logabsdetjac.(link_transform.(dists), r)))

Check warning on line 594 in src/context_implementations.jl

View check run for this annotation

Codecov / codecov/patch

src/context_implementations.jl#L594

Added line #L594 was not covered by tests
# `push!!` sets the trans-flag to `false` by default.
settrans!!.((vi,), true, vns)
else
Expand Down

0 comments on commit 545cfab

Please sign in to comment.