Skip to content

Commit e3b667c

Browse files
rpgoldmanColCarroll
authored andcommitted
Code cleanup from @ColCarroll
Co-Authored-By: Colin <[email protected]>
1 parent 7c8c41e commit e3b667c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pymc3/backends/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def merge_traces(mtraces: List[MultiTrace]) -> MultiTrace:
566566
base_mtrace = mtraces[0]
567567
chain_len = len(base_mtrace)
568568
# check base trace
569-
if any((len(st) != chain_len for _, st in base_mtrace._straces.items())):
569+
if any(len(st) != chain_len for _, st in base_mtrace._straces.items()): # pylint: disable=line-too-long
570570
raise ValueError("Chains are of different lengths.")
571571
for new_mtrace in mtraces[1:]:
572572
for new_chain, strace in new_mtrace._straces.items():

0 commit comments

Comments
 (0)