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

Backport stanc3 bugfix for ternary ops with expressions #1035

Merged
merged 1 commit into from
Feb 11, 2023
Merged

Backport stanc3 bugfix for ternary ops with expressions #1035

merged 1 commit into from
Feb 11, 2023

Conversation

andrjohns
Copy link
Contributor

@hsbadr

This PR updates the stanc.js file to backport the bugfix from stan-dev/stanc3#977 for handling ternary operations with Eigen expressions. This will be needed for the multinma package.

I used the same stanc3 branch previously used for backporting stanc3 patches in #988

@hsbadr
Copy link
Member

hsbadr commented Feb 11, 2023

@andrjohns I'll need a release out of this to ship the JS in RStan.

@hsbadr
Copy link
Member

hsbadr commented Feb 11, 2023

You may test it with the latest version of RStan v2.26.

@andrjohns
Copy link
Contributor Author

No rush on shipping a new version just yet, I'm still working through other revdep failures for rstan 2.26 so there might be other patches still to come

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. Since 2.26 is a temp release, I'll merge this into 2.26.15.

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