You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be reasonable to expect that collect(keys(vi)) would return a vector VarNames, but this is not always true for SimpleVarInfo. You can, in fact, make the key type be whatever you want:
I think it would be reasonable to expect that
collect(keys(vi))
would return a vectorVarName
s, but this is not always true forSimpleVarInfo
. You can, in fact, make the key type be whatever you want:Maybe more commonly, empty
SimpleVarInfo
s are trouble:See https://github.com/TuringLang/DynamicPPL.jl/pull/780/files#r1928908281
We could just fix
keys
, but I wonder, as @penelopeysm says in the above comment, whether we should put more strict bounds on thevalues
field.The text was updated successfully, but these errors were encountered: