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.
if Variable
1 parent 65f9d43 commit 560206dCopy full SHA for 560206d
pymc_extras/statespace/core/statespace.py
@@ -707,7 +707,7 @@ def _insert_random_variables(self):
707
with pymc_model:
708
for param_name in self.param_names:
709
param = getattr(pymc_model, param_name, None)
710
- if param:
+ if param is not None:
711
found_params.append(param.name)
712
713
missing_params = list(set(self.param_names) - set(found_params))
0 commit comments