Skip to content

Commit e024991

Browse files
Fix final count when progress = "combined"
1 parent a629a97 commit e024991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ def update(self, chain_idx, is_last, draw, tuning, stats):
842842
if is_last:
843843
self._progress.update(
844844
self.tasks[chain_idx],
845-
draws=draw + 1 if not self.combined_progress else draw - 1,
845+
draws=draw + 1 if not self.combined_progress else draw,
846846
**more_updates,
847847
refresh=True,
848848
)

0 commit comments

Comments
 (0)