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 7ff2f49 commit 8835104Copy full SHA for 8835104
pymc3/sampling.py
@@ -414,15 +414,15 @@ def sample(
414
"""
415
model = modelcontext(model)
416
if start is None:
417
- start = model.test_point
+ check_start_vals(model.test_point, model)
418
else:
419
if isinstance(start, dict):
420
update_start_vals(start, model.test_point, model)
421
422
for chain_start_vals in start:
423
update_start_vals(chain_start_vals, model.test_point, model)
424
+ check_start_vals(start, model)
425
- check_start_vals(start, model)
426
if cores is None:
427
cores = min(4, _cpu_count())
428
0 commit comments