Skip to content

Commit 560206d

Browse files
Can't use if Variable anymore
1 parent 65f9d43 commit 560206d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_extras/statespace/core/statespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def _insert_random_variables(self):
707707
with pymc_model:
708708
for param_name in self.param_names:
709709
param = getattr(pymc_model, param_name, None)
710-
if param:
710+
if param is not None:
711711
found_params.append(param.name)
712712

713713
missing_params = list(set(self.param_names) - set(found_params))

0 commit comments

Comments
 (0)