We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f849206 commit b74f4fbCopy full SHA for b74f4fb
pymc/sampling/parallel.py
@@ -565,7 +565,7 @@ def __iter__(self):
565
self._divergences_by_chain[proc.chain] += 1
566
567
if self._show_progress:
568
- elapsed = progress._tasks[proc.chain].elapsed
+ elapsed = max(progress._tasks[proc.chain].elapsed, 1e-4)
569
speed = self._completed_draws_by_chain[proc.chain] / elapsed
570
571
if speed > 1:
0 commit comments