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
@@ -191,6 +188,9 @@ function DynamicPPL.initialstep(
191
188
nparticles::Int,
192
189
kwargs...,
193
190
)
191
+
if!isempty(model.defaults)
192
+
@warn"The use of particle methods for models with keyword arguments requires special care. Please see <documentation link> for more details and be sure to check the results you obtain to make sure that observations are being properly accounted for."
193
+
end
194
194
# Reset the VarInfo.
195
195
vi = DynamicPPL.setacc!!(vi, ProduceLogLikelihoodAccumulator())
196
196
set_all_del!(vi)
@@ -316,6 +316,9 @@ function DynamicPPL.initialstep(
316
316
vi::AbstractVarInfo;
317
317
kwargs...,
318
318
)
319
+
if!isempty(model.defaults)
320
+
@warn"The use of particle methods for models with keyword arguments requires special care. Please see <documentation link> for more details and be sure to check the results you obtain to make sure that observations are being properly accounted for."
321
+
end
319
322
vi = DynamicPPL.setacc!!(vi, ProduceLogLikelihoodAccumulator())
320
323
# Reset the VarInfo before new sweep
321
324
set_all_del!(vi)
@@ -586,3 +589,11 @@ function Libtask.might_produce(
0 commit comments