Skip to content

Commit 8550644

Browse files
committed
More readable todo
1 parent 210b7c5 commit 8550644

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pymc/util.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,11 +848,8 @@ def update(self, chain_idx, is_last, draw, tuning, stats):
848848
continue
849849

850850
if key in all_step_stats:
851+
# TODO: Figure out how to integrate duplicate / non-scalar keys, ignoring them for now
851852
continue
852-
count = (
853-
sum(step_key.startswith(f"{key}_") for step_key in all_step_stats) + 1
854-
)
855-
all_step_stats[f"{key}_{count}"] = val
856853
else:
857854
all_step_stats[key] = val
858855

0 commit comments

Comments
 (0)