| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
|
Awesome! Thanks for pushing this through! |
Sorry, something went wrong.
There was a problem hiding this comment.
Changes look good, thanks!
Sorry, something went wrong.
|
@andrjohns can you share what arguments you expect the functions in stanc3 to be able to accept now? Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This PR addresses the issues from #2490 required for exposing poisson_binomial in the language (#618):
I haven't added support for passing scalar arguments to theta (i.e., int, real) since theta is supposed to be a vector of probabilities (similar to categorical_rng).
I had to make some minor changes to size_mvt and vector_seq_view to support std::vector<double> arguments, but the other changes are fairly minor
Tests
Expanded poisson_binomial tests to use row_vector and array[] real types
Side Effects
N/A
Release notes
Fixed expression test errors with poisson_binomial_rng, added support for row-vector and std::vector<double> theta arguments for poisson_binomial
Checklist
Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested