Unfortunately, we have a bug in the 2.24 that will require a 2.24.1 release: https://github.com/stan-dev/stanc3/issues/661
The issue only affects the use of elementwise pow so no urgent need for users to upgrade if you do not wish to use elementwise pow.
In the interest of improving our process, this fell through for the following reasons:
- the reviewer (me) did not test whether the model compiles locally; I hate that we rely on local testing, but I should have remembered this - I apologize.
- insufficient testing of new models that reside in stanc3
The PR in stanc3 that implemented this feature had all the proper test models, but the stanc3 tests themselves do not test whether the test models compile at the C++ level.
The tests we currently have in place to check whether models compile to the executables are:
- compile https://github.com/stan-dev/example-models/blob/master/regression_tests/mother.stan in stanc3 tests
- in the
stanrepository we run integration tests that compile the so-called good models. These models are leftover from the stanc2 development times and do not have the new features.
There is an issue open that will improve this testing: https://github.com/stan-dev/stanc3/issues/636
Seems that we will need to prioritize this a bit more.
If there is any good news here that will only require a simple stanc3 PR, so we will only need to update the stanc3 binaries from the 2.24.0 release tarballs. The rest of the code remains the same.