Skip to content

Commit 345faff

Browse files
pre-commit
1 parent 28a80c1 commit 345faff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/sampling/mcmc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,13 +1296,13 @@ def _iter_sample(
12961296
)
12971297

12981298
yield stats
1299-
1299+
13001300
except (KeyboardInterrupt, BaseException):
13011301
if isinstance(trace, ZarrChain):
13021302
trace.record_sampling_state(step=step)
13031303
trace.close()
13041304
raise
1305-
1305+
13061306
else:
13071307
if isinstance(trace, ZarrChain):
13081308
trace.record_sampling_state(step=step)

0 commit comments

Comments
 (0)