Skip to content

Conversation

@yixuan
Copy link
Contributor

@yixuan yixuan commented Oct 29, 2025

Submission Checklist

  • Builds locally
  • New functions marked with <<{ since VERSION }>>
  • Declare copyright holder and open-source license: see below

Summary

Two fixes for the "Matrices, Vectors, Arrays, and Tuples" section in Stan User's Guide:

  • The original text had a clear misinterpretation of the data type tuple(array[5] int, vector[6]), which took it as a 3-tuple. The fix removes the non-existent int member in the tuple. Of course, another possibility is that the text corresponds to the data type tuple(array[5] int, int, vector[6]). I can modify my PR to reflect this possibility.
  • There are some clear broken lines in the paragraph explaining aliasing, and I have to use my own understanding to complete the sentences. I'm also happy to modify my PR if my understanding is not 100% correct.

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):

None. Just a few minor bug fixes.

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

Copy link
Member

@WardBrian WardBrian left a comment

Choose a reason for hiding this comment

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

Great catches, thank you!

@WardBrian WardBrian merged commit 53cf5ad into stan-dev:master Oct 29, 2025
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