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 d031008 commit e7ccfe2Copy full SHA for e7ccfe2
pymc_extras/inference/INLA/inla.py
@@ -34,9 +34,8 @@ def fit_INLA(
34
marginal_model = marginalize(model, x, use_laplace=True, **marginalize_kwargs)
35
36
# Sample over the hyperparameters
37
- idata = pm.sample(model=marginal_model, **sampler_kwargs)
38
-
39
if not return_latent_posteriors:
+ idata = pm.sample(model=marginal_model, **sampler_kwargs)
40
return idata
41
42
# Unmarginalize stuff
0 commit comments