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

ignore all spacing in regex for lp_accum functions #1099

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

sbfnk
Copy link
Contributor

@sbfnk sbfnk commented Oct 5, 2023

Summary:

Fixes #1098 by allowing line breaks to happen anywhere in the line that needs to be replaced.
Previous PR #1094 did not completely fix this problem.

Intended Effect:

Example in Issue #1098 works.

How to Verify:

Test example in Issue #1098.

Side Effects:

None

Documentation:

n/a

Reviewer Suggestions:

@andrjohns

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Sebastian Funk (I guess? Happy to forfeit).

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Copy link
Contributor

@andrjohns andrjohns left a comment

Choose a reason for hiding this comment

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

Thanks @sbfnk! I'll merge once tests pass

@andrjohns andrjohns merged commit 0db6889 into stan-dev:develop Oct 6, 2023
7 checks passed
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.

expose_stan_functions still sometimes fails with ..._lp functions in rstan 2.26
2 participants