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 d422134 commit d4e1edfCopy full SHA for d4e1edf
src/model.jl
@@ -896,7 +896,7 @@ function init!!(
896
varinfo::AbstractVarInfo,
897
init_strategy::AbstractInitStrategy=InitFromPrior(),
898
)
899
- new_model = contextualize(model, InitContext(rng, init_strategy))
+ new_model = setleafcontext(model, InitContext(rng, init_strategy))
900
return evaluate!!(new_model, varinfo)
901
end
902
function init!!(
0 commit comments