From 91d082e8045ca65ff3d6fdbe20f7330ab3f8913b Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Sun, 4 Feb 2024 16:38:53 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Tor Erlend Fjelde --- src/varinfo.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/varinfo.jl b/src/varinfo.jl index 6d1bf8743..c8c46ee27 100644 --- a/src/varinfo.jl +++ b/src/varinfo.jl @@ -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,