File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import arviz as az
22import pymc as pm
33
4- from pytensor .tensor import TensorVariable
4+ from pytensor .tensor import TensorLike , TensorVariable
55
66from pymc_extras .model .marginal .marginal_model import marginalize
77
88
99def fit_INLA (
1010 x : TensorVariable ,
11- Q : TensorVariable ,
11+ Q : TensorLike ,
1212 minimizer_seed : int = 42 ,
1313 model : pm .Model | None = None ,
1414 minimizer_kwargs : dict = {"method" : "L-BFGS-B" , "optimizer_kwargs" : {"tol" : 1e-8 }},
@@ -34,7 +34,7 @@ def fit_INLA(
3434 ----------
3535 x: TensorVariable
3636 The latent gaussian to marginalize out.
37- Q: TensorVariable
37+ Q: TensorLike
3838 Precision matrix of the latent field.
3939 minimizer_seed: int
4040 Seed for random initialisation of the minimum point x*.
You can’t perform that action at this time.
0 commit comments