Closed stemangiola closed 4 years ago
Thanks @stemangiola
In order for this model to work with the new parser that will be part of a future rstan version, you need to just add a ";" after print. We are aware that the previous parser (stanc2) was not as strict on semicolons, the new one is.
If I add that, the model compiles normally with the new parser.
And the integer divison warning goes away if you will use the integer operator: %/%
which will also be a part of the new compiler.
error:
model
Trigger
rstan::stan_model("inst/stan/ARMET_ref.stan")