Skip to content

Commit 145d28d

Browse files
chore: proper fix of pre-commit
1 parent 8b66a9a commit 145d28d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pymc/logprob/mixture.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,9 @@ def find_measurable_index_mixture(fgraph, node):
291291
if any(
292292
(
293293
isinstance(indices, (type(NoneConst) | type(None)))
294-
or
295-
(
296-
indices.dtype.startswith("int") and
297-
sum(1 - b for b in indices.type.broadcastable) > 0
294+
or (
295+
indices.dtype.startswith("int")
296+
and sum(1 - b for b in indices.type.broadcastable) > 0
298297
)
299298
)
300299
for indices in mixing_indices

0 commit comments

Comments
 (0)