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
When I try to add an array of integers and a single integer, I get the error:
Ill-typed arguments supplied to infix operator +. Available signatures: ... Instead supplied arguments of incompatible type: array[] int, int.
Is there a specific reason we don't have an array[] int, int signature for + and -?
array[] int, int
The following Stan code snippet will results in an error, but would be a well defined (vectorized) opteration I believe.
data { int N; array[N] int J; } transformed data { array[N] int K = J + N; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When I try to add an array of integers and a single integer, I get the error:
Is there a specific reason we don't have an
array[] int, int
signature for + and -?Example
The following Stan code snippet will results in an error, but would be a well defined (vectorized) opteration I believe.
The text was updated successfully, but these errors were encountered: