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

hvncat: Extended docstring, reorganized helper methods, more consistent error throwing #41195

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

BioTurboNick
Copy link
Contributor

Breaking down #41143 into smaller pieces.

Added Int method to docstring, added example of how shape is specified, moved helper methods, and made throwing errors consistent.

Copy link
Member

@simeonschaub simeonschaub left a comment

Choose a reason for hiding this comment

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

Awesome! LGTM.

Comment on lines +2335 to +2336
throw(ArgumentError("""argument $i has a mismatched number of elements along axis $ad; \
expected $(cat_size(as[i - 1], ad)), got $dsize"""))
Copy link
Member

Choose a reason for hiding this comment

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

Love seeing this of course! :)

@simeonschaub simeonschaub added arrays [a, r, r, a, y, s] backport 1.7 docs This change adds or pertains to documentation merge me PR is reviewed. Merge when all tests are passing labels Jun 11, 2021
@simeonschaub simeonschaub merged commit fe94fbd into JuliaLang:master Jun 14, 2021
KristofferC pushed a commit that referenced this pull request Jun 17, 2021
@KristofferC KristofferC mentioned this pull request Jun 17, 2021
20 tasks
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jun 18, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants