Skip to content
New issue

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

Add namespace qualifier to size calls #1044

Merged
merged 1 commit into from Mar 9, 2023
Merged

Conversation

andrjohns
Copy link
Contributor

@hsbadr

As part of testing compatibility with the c++17 default for rstantools, we identified that the version of stanc3 used in rstan 2.26 is emitting size() rather than stan::math::size(), resulting in compilation errors under c++17.

This PR updates the stanc.js from the stanc3 backport branch with a patch for the handling of size() with a qualifier

@hsbadr hsbadr merged commit 0d27549 into StanHeaders_2.26 Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants