Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tor Erlend Fjelde <[email protected]>
  • Loading branch information
sunxd3 and torfjelde authored Feb 4, 2024
1 parent aed3349 commit 91d082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function VarInfo(rng::Random.AbstractRNG, model::Model, context::AbstractContext
return VarInfo(rng, model, SampleFromPrior(), context)
end

# TODO: do we need `space`?
# TODO: Remove `space` argument when no longer needed. Ref: https://github.com/TuringLang/DynamicPPL.jl/issues/573
function newmetadata(metadata::Metadata, space, x)
return Metadata(
metadata.idcs,
Expand Down

0 comments on commit 91d082e

Please sign in to comment.