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

Use unambiguous size function with old rstan #2874

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Use unambiguous size function with old rstan #2874

merged 1 commit into from
Feb 24, 2023

Conversation

andrjohns
Copy link
Collaborator

@andrjohns andrjohns commented Feb 11, 2023

@hsbadr

When using c++17 with rstan 2.21 & StanHeaders 2.26 we run into the same ambiguity errors with the size() function - because the older stanc is emitting size() without the math qualifier. We can workaround this by using the "old" size function with rstan 2.21, which has less general templating and doesn't result in the same ambiguity errors

EDIT: This will be needed for the blavaan package

@andrjohns
Copy link
Collaborator Author

@hsbadr sorry to double-ping, but would you be able to merge this and create a new StanHeaders release when you get a minute?

Copy link
Member

@hsbadr hsbadr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@hsbadr hsbadr merged commit 04b0ef4 into stan-dev:StanHeaders_2.26 Feb 24, 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.

2 participants