Skip to content

Commit 8b66a9a

Browse files
chore: fixing pre-commit
1 parent afdef12 commit 8b66a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/logprob/mixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def find_measurable_index_mixture(fgraph, node):
290290
# but the Mixture logprob assumes all mixture values are independent
291291
if any(
292292
(
293-
isinstance(indices, (type(NoneConst), type(None)))
293+
isinstance(indices, (type(NoneConst) | type(None)))
294294
or
295295
(
296296
indices.dtype.startswith("int") and

0 commit comments

Comments
 (0)