You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stan compiler generator generates wrong set of indexes for multi-dimensional parameters. Introduced by #2498, refactor of Stan lang necessary to add tuple types to the Stan language.
Description:
generated c++ code contains methods constrained_param_names and unconstrained_param_names which generate the indexed multi-dim parameter names, e.g.
code:
Summary:
Stan compiler generator generates wrong set of indexes for multi-dimensional parameters. Introduced by #2498, refactor of Stan lang necessary to add tuple types to the Stan language.
Description:
generated c++ code contains methods
constrained_param_names
andunconstrained_param_names
which generate the indexed multi-dim parameter names, e.g.code:
results in this output:
Reproducible Steps:
see above example, model
src/test/test-models/good/stat_comp_benchmark_models/sir.stan
Current Output:
Expected Output:
output above.
also, repo
stat_comp_benchmark
contains models, data, and expected results.Additional Information:
Provide any additional information here.
Current Version:
v2.18.0
The text was updated successfully, but these errors were encountered: