We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function log_mix taking two collections does not check that the first container is a simplex.
Rejection when the first argument is not a simplex, e.g.,
target += log_mix({0.5, 0.9}, {-1.2, -4.2});
v4.9.0
The text was updated successfully, but these errors were encountered:
If I had to theorize as to why it does not, it seems like check_simplex might not have overloads for non-Eigen containers: https://github.com/stan-dev/math/blob/develop/stan/math/prim/err/check_simplex.hpp
So that's a good place to start
Sorry, something went wrong.
No branches or pull requests
Description
The function log_mix taking two collections does not check that the first container is a simplex.
Expected Output
Rejection when the first argument is not a simplex, e.g.,
Current Version:
v4.9.0
The text was updated successfully, but these errors were encountered: