We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956ed54 commit 8d13c30Copy full SHA for 8d13c30
src/sampler.jl
@@ -85,6 +85,8 @@ function default_varinfo(rng::Random.AbstractRNG, model::Model, ::AbstractSample
85
# an empty `typed_varinfo(VarInfo())`) is to avoid issues where pushing to an empty
86
# typed VarInfo would fail. This can happen if two VarNames have different types
87
# but share the same symbol (e.g. `x.a` and `x.b`).
88
+ # TODO(mhauru) Fix push!! to work with arbitrary lens types, and then remove the arguments
89
+ # and return an empty VarInfo instead.
90
return typed_varinfo(VarInfo(rng, model))
91
end
92
0 commit comments