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 d4bce39 commit 9a51289Copy full SHA for 9a51289
pymc/func_utils.py
@@ -108,7 +108,7 @@ def find_constrained_prior(
108
aesara_jac = pm.gradient(cdf_error, [dist_params])
109
jac = pm.aesaraf.compile_pymc([dist_params], aesara_jac, allow_input_downcast=True)
110
# when PyMC cannot compute the gradient
111
- except (NotImplementedError, NullTypeGradError, TypeError):
+ except (NotImplementedError, NullTypeGradError):
112
jac = "2-point"
113
114
opt = optimize.least_squares(cdf_error_fn, x0=list(init_guess.values()), jac=jac)
0 commit comments