Skip to content
Permalink
Browse files

Code cleanup from @ColCarroll

Co-Authored-By: Colin <ColCarroll@users.noreply.github.com>
  • Loading branch information...
2 people authored and twiecki committed Sep 3, 2019
1 parent 7c8c41e commit e3b667c7515e5519f8afe711d6d5723c65ee0311
Showing with 1 addition and 1 deletion.
  1. +1 −1 pymc3/backends/base.py
@@ -566,7 +566,7 @@ def merge_traces(mtraces: List[MultiTrace]) -> MultiTrace:
base_mtrace = mtraces[0]
chain_len = len(base_mtrace)
# check base trace
if any((len(st) != chain_len for _, st in base_mtrace._straces.items())):
if any(len(st) != chain_len for _, st in base_mtrace._straces.items()): # pylint: disable=line-too-long
raise ValueError("Chains are of different lengths.")
for new_mtrace in mtraces[1:]:
for new_chain, strace in new_mtrace._straces.items():

0 comments on commit e3b667c

Please sign in to comment.
You can’t perform that action at this time.