Skip to content

Commit a80b650

Browse files
committed
Use model.recompute_initial_point in SMC
1 parent fe73d51 commit a80b650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/smc/smc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _initialize_kernel(self):
189189
190190
"""
191191
# Create dictionary that stores original variables shape and size
192-
initial_point = self.model.initial_point
192+
initial_point = self.model.recompute_initial_point(seed=self.rng.integers(2 ** 30))
193193
for v in self.variables:
194194
self.var_info[v.name] = (initial_point[v.name].shape, initial_point[v.name].size)
195195

0 commit comments

Comments
 (0)