Commit 03686756 authored by DeliciousHair's avatar DeliciousHair

fixed small but critical typo

parent a0bde881
......@@ -151,7 +151,7 @@ We can now use `scipy.optimize.newton` to find the root::
return jac
def mu_from_theta(theta):
return optimize.newton(func, 1, fprime=jac, args=(0.4,))
return optimize.newton(func, 1, fprime=jac, args=(theta,))
We could wrap `mu_from_theta` with `tt.as_op` and use gradient-free
methods like Metropolis, but to get NUTS and ADVI working, we also
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment