-
-
Save WardBrian/61f959b7142962e798b7dfe8f83190b7 to your computer and use it in GitHub Desktop.
Stan 2.38 release notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Removed `STAN_CPP_OPTIMS` from the `model info` command. It was never set to the correct value. (#1332) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Added the unnormalized CDF and CCDF for the wiener 7-parameter diffusion model. Allows modeling truncated and censored data. (#3042, #3258, #3260, #3263) | |
| - Added `yule_simon_lpmf` and `yule_simon_lccdf`. Allows modeling power-law count data. (#3220, #3236) | |
| - Updated wording of validate_positive_index. (#3248) | |
| - Replaced standard `if` statements with `if constexpr` where posssible. (#3240) | |
| - Removed use of `forward_as` in the math library. (#3242) | |
| - Added some more type traits for dealing with tuples. (#3244) | |
| - Added `inline` to all functions. (#3245) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Allow `min:max` indexing to always succeed if it is an empty selection. (#3362) | |
| - Updated scalar templating in the serializer. (#3355) | |
| - Removed the uses of `forward_as` from the stan repo and adds `if constexpr` where possible. (#3357) | |
| - Updated Pathfinder writer to avoid indexing past vector length. (#3364) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Improved formatting and wording of compiler warnings and error messages. These | |
| can display in color when the output is a supporting terminal. This can be | |
| overriden with `--color=never` or `$STANC_COLORS` set to `never`. | |
| (#1548, #1551, #1546, #1549, #1550, #1552, #1561, #1560) | |
| - Expiring deprecation: `jacobian` is now a reserved keyword. (#1573) | |
| - Added new functions: wiener_lcdf_defective and wiener_lccdf_defective for use with the wiener distribution. (#1576) | |
| - Added new overloads to the 5/8 argument wiener_lpdf functions with an additional data real argument to control the precision of the gradient. (#1576) | |
| - Command line flags like `--use-opencl` can be passed multiple times once more. This is equivalent to passing them exactly once, and is only provided for backwards compatibility with existing code that may not properly prepare the arguments to the compiler. (#1541) | |
| - `--debug-mem-patterns` will now output information about why each variable was not considered a candidate for the SoA optimization. (#1566) | |
| - Autocomplete scripts (for bash, zsh, and powershell) and manpages are now available for the stanc compiler. (#1572, #1558) | |
| - Fixed a pedantic warning referring to a now-incorrect location in the user's guide. (#1567) | |
| - All warnings from pedantic mode will now have a location associated with them. (#1568) | |
| - The C++ generated by models with many individually named parameters should be less likely to produce errors complaining about `bracket depth exceeded`. (#1542) | |
| - Improved code generation of user-defined functions accepting tuples to resolve some C++ compilation errors. (#1556) | |
| - Fixed an issue where some function names like `min` could lead to conflicts with the C++ standard library if they were overloaded by a user. (#1557) | |
| - Generated C++ now always encodes when we expect integers to become doubles. (#1577) | |
| - Updated C++ templating around autodiff scalars. (#1555) | |
| - Fixed the some of the newer constraint types not having sufficient size checks for their declarations in the generated C++. (#1563) | |
| - Fixed a compiler crash that could be triggered by certain nested `#include` statements. (#1564) | |
| - Improved the formatting of long functions (either with long names or many arguments). (#1562) | |
| - stanc.js can request ANSI escape code styling in errors and warnings by passing `color-output` as an argument. These are supported in most browser consoles. (#1569) | |
| - Removed unused code from Common. (#1538) | |
| - Cleaned up pretty-printer code. (#1527) | |
| - Reduced cross-module access to mutable state. (#1543) | |
| - Encapsulated local exception usage. (#1544) | |
| - Statically forbid promotion nodes in the untyped AST. (#1545) | |
| - Fixed inconsistency in whether locations are opaque in sexps. (#1547) | |
| - stanc3js will no longer try to load node modules at startup. (#1553) | |
| - `dune build @install` no longer adds stanc's testing executables to the `bin` folder. (#1571) | |
| - Cleaned up dune-project file. (#1574) | |
| - Updated `ocamlformat` to 0.28 (#1570) | |
| - Updated Fmt to 0.11.0 (#1537) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment