Skip to content

Commit 1c5b734

Browse files
Fix typos
1 parent 23d122f commit 1c5b734

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pymc/sampling/parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def __init__(
496496
)
497497

498498
self.progress_stats = progress_stats
499-
self.update_stats = step_method._make_update_stat_function()
499+
self.update_stats = step_method._make_update_stats_function()
500500

501501
self._show_progress = progressbar
502502
self._divergences = 0

pymc/step_methods/compound.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def _progressbar_config(self, n_chains=1):
318318

319319
return columns, stats
320320

321-
def _make_update_stat_function(self):
321+
def _make_update_stats_function(self):
322322
update_fns = [method._make_update_stats_function() for method in self.methods]
323323

324324
def update_stats(stats, step_stats, chain_idx):

pymc/step_methods/hmc/nuts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _progressbar_config(n_chains=1):
248248
return columns, stats
249249

250250
@staticmethod
251-
def _make_update_stat_function():
251+
def _make_update_stats_function():
252252
def update_stats(stats, step_stats, chain_idx):
253253
if isinstance(step_stats, list):
254254
step_stats = step_stats[0]

0 commit comments

Comments
 (0)