Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Nov 3, 2022
1 parent 6b126b8 commit d715b0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,9 @@ function setval_and_resample!(
return setval_and_resample!(vi, chains.value[sample_idx, :, chain_idx], keys(chains))
end

function _setval_and_resample_kernel!(vi::VarInfoOrThreadSafeVarInfo, vn::VarName, values, keys)
function _setval_and_resample_kernel!(
vi::VarInfoOrThreadSafeVarInfo, vn::VarName, values, keys
)
indices = findall(Base.Fix1(subsumes_string, string(vn)), keys)
if !isempty(indices)
val = reduce(vcat, values[indices])
Expand Down

0 comments on commit d715b0c

Please sign in to comment.