Skip to content

Commit 73d120f

Browse files
committed
fixed typo
1 parent 92b96d7 commit 73d120f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ end
13291329

13301330
function _inner_transform!(md::Metadata, vi::VarInfo, vn::VarName, f)
13311331
# TODO: Use inplace versions to avoid allocations
1332-
yvec, logjac = with_logabsdet_jacobian(f, getindex_internal(vi, md))
1332+
yvec, logjac = with_logabsdet_jacobian(f, getindex_internal(md, vn))
13331333
# Determine the new range.
13341334
start = first(getrange(md, vn))
13351335
# NOTE: `length(yvec)` should never be longer than `getrange(vi, vn)`.

0 commit comments

Comments
 (0)