Skip to content

Commit 6117810

Browse files
committed
Renamed _soft_update to _updates_start_vals
1 parent 792dd0d commit 6117810

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc3/sampling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ def _iter_sample(draws, step, start=None, trace=None, chain=0, tune=None,
348348
strace = _choose_backend(trace, chain, model=model)
349349

350350
if len(strace) > 0:
351-
_soft_update(start, strace.point(-1), model)
351+
_update_start_vals(start, strace.point(-1), model)
352352
else:
353-
_soft_update(start, model.test_point, model)
353+
_update_start_vals(start, model.test_point, model)
354354

355355
try:
356356
step = CompoundStep(step)
@@ -457,7 +457,7 @@ def stop_tuning(step):
457457

458458
return step
459459

460-
def _soft_update(a, b, model):
460+
def _update_start_vals(a, b, model):
461461
"""Update a with b, without overwriting existing keys. Values specified for
462462
transformed variables on the original scale are also transformed and inserted.
463463
"""

0 commit comments

Comments
 (0)