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

Deduplicate logic in UnsizedType and Signaturemismatch #1115

Merged
merged 9 commits into from
Feb 18, 2022

Conversation

WardBrian
Copy link
Member

Closes #1001.

This depends on #1102 and #1114, so the diff will be much nicer after those are merged. I'm marking it as a draft for now just so I can confirm tests pass

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

Internal refactoring

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@WardBrian WardBrian force-pushed the dedupe-unsized-signaturemismatch branch from b15dd75 to 704dc9b Compare February 10, 2022 16:48
@WardBrian WardBrian force-pushed the dedupe-unsized-signaturemismatch branch from 704dc9b to 62328b8 Compare February 17, 2022 17:52
@WardBrian WardBrian marked this pull request as ready for review February 17, 2022 17:53
@WardBrian WardBrian changed the title [WIP] Deduplicate logic in UnsizedType and Signaturemismatch Deduplicate logic in UnsizedType and Signaturemismatch Feb 17, 2022
@WardBrian WardBrian requested review from nhuurre and SteveBronder and removed request for nhuurre February 17, 2022 17:53
@WardBrian
Copy link
Member Author

Since #1102 is merged this is next on the list of refactors which help out complex matrices, and I think it should be ready for review.

src/analysis_and_optimization/Partial_evaluator.ml Outdated Show resolved Hide resolved
src/analysis_and_optimization/dune Show resolved Hide resolved
src/middle/Stan_math_signatures.ml Outdated Show resolved Hide resolved
src/stan_math_backend/Expression_gen.ml Outdated Show resolved Hide resolved
@WardBrian WardBrian merged commit 29dda9c into stan-dev:master Feb 18, 2022
@nhuurre nhuurre mentioned this pull request Feb 19, 2022
3 tasks
@WardBrian WardBrian mentioned this pull request Feb 23, 2022
2 tasks
@WardBrian WardBrian deleted the dedupe-unsized-signaturemismatch branch May 10, 2022 13:25
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.

Consolidate check_compatible_arguments_mod_conv functions
2 participants