inlabru-org / inlabru

inlabru
https://inlabru-org.github.io/inlabru/
76 stars 21 forks source link

Error with predict function running St Andrews workshop code #54

Closed luisabaker closed 5 years ago

luisabaker commented 5 years ago

The workshop code including the pre-Workshop inlabru installation test code keeps giving me the following error with the predict function

Error in samples[[i]] : subscript out of bounds In addition: Warning message: In inla.posterior.sample.interpret.selection(selection, result) : Some selections are not used:

This error occurs with both the CRAN and development versions of inlabru and both the gorillas and Poisson2_1D datasets. R console output including session info is attached. Am I doing something wrong?

R_console_output_inlabru.txt

finnlindgren commented 5 years ago

This has now been fixed on the devel branch (commit daa16cd).