Skip to content

Commit ad7dc8a

Browse files
fonnesbeckspringcoil
authored andcommitted
Replaced fixed kappa with passed value (#1531)
1 parent b91d3be commit ad7dc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/step_methods/nuts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def astep(self, q0):
157157
self.Hbar = (1 - w) * self.Hbar + w * \
158158
(self.target_accept - a * 1. / na)
159159

160-
self.step_size = exp(self.u - (self.m**.5 / self.gamma) * self.Hbar)
160+
self.step_size = exp(self.u - (self.m**self.k / self.gamma) * self.Hbar)
161161
self.m += 1
162162

163163
return q

0 commit comments

Comments
 (0)