-
Notifications
You must be signed in to change notification settings - Fork 913
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
Fix the example in documentation for get_dremel_data()
#17242
Fix the example in documentation for get_dremel_data()
#17242
Conversation
* col = {[], [[], [1, 2, 3], [4, 5]], [[]]} | ||
* dremel_offsets = { 0, 1, 7, 8} | ||
* def_levels = { 0 1, 2, 2, 2, 2, 2, 1 } | ||
* rep_levels = { 0, 0, 1, 2, 2, 1, 2, 0 } | ||
* ``` | ||
* | ||
* Since repetition and definition levels arrays contain a value for each empty list, the size of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewers: Would love an extra set of eyes at the explanation of the algorithm at L120-151 if you could. I looked into it while making the edits and the explanation looked fine to me so I didn't make any changes. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'm just confused as to why we included the algorithm description in the public header :)
Not a concern for this PR
Co-authored-by: Vukasin Milovanovic <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small nits.
/merge |
Description
Closes #11396. Fixes the example in the documentation of
get_dremel_data()
Checklist