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

Remove custom C++ functions #558

Closed
wants to merge 1 commit into from
Closed

Remove custom C++ functions #558

wants to merge 1 commit into from

Conversation

hsbadr
Copy link
Member

@hsbadr hsbadr commented Dec 23, 2021

As discussed in #514 and #555, this PR removes all custom C++ functions and uses the replacement from Stan/Math. It also fixes building rstanarm with Stan v2.28.2, which requires a very minor patch for Math.

@hsbadr
Copy link
Member Author

hsbadr commented Dec 23, 2021

I'll look into the test failure tomorrow; it seems to be related to the following exception:

Exception: csr_matrix_times_vector: u/z (34) and v (35) must match in size
    (in '/model/eta_add_Zb.stan' at line 2; included from 'model_continuous' at line 150)

@hsbadr
Copy link
Member Author

hsbadr commented Dec 23, 2021

@bgoodri Before I spend time to fix the failed examples/tests (which refer to the checks in csr_matrix_times_vector), are you ok with the change of removing the custom C++ functions to improve backward/forward compatibility with Stan/Math?

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.

1 participant