Skip to content

Commit 3f84d41

Browse files
committed
1 parent c72090a commit 3f84d41

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pymc3/sampling.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515
"""Functions for MCMC sampling."""
1616

1717
import collections.abc as abc
18-
import copy
1918
import logging
2019
import pickle
2120
import sys
2221
import time
2322
import warnings
2423

2524
from collections import defaultdict
26-
from copy import copy
25+
from copy import copy, deepcopy
2726
from typing import Any, Dict, Iterable, List, Optional, Set, Union, cast
2827

2928
import arviz
@@ -424,7 +423,7 @@ def sample(
424423
p 0.609 0.047 0.528 0.699
425424
"""
426425
model = modelcontext(model)
427-
start = copy.deepcopy(start)
426+
start = deepcopy(start)
428427
if start is None:
429428
check_start_vals(model.test_point, model)
430429
else:

0 commit comments

Comments
 (0)