Skip to content

Conversation

@mbauman
Copy link
Contributor

@mbauman mbauman commented May 8, 2020

Ensures we get the specialization we want when passing dims=(:). Fixes #37.

Ensures we get the specialization we want when passing `dims=(:)`.  Fixes JuliaStats#37.
@nalimilan
Copy link
Member

Thanks! That's really tricky, it didn't occur to me that : was a function.

Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
@mbauman
Copy link
Contributor Author

mbauman commented May 11, 2020

Yeah, it clearly caught me off-guard, too! Just look at all the breadcrumbs it took me to get to the correct issue. Hah!

@nalimilan nalimilan merged commit b416906 into JuliaStats:master May 12, 2020
@mbauman mbauman deleted the patch-1 branch May 12, 2020 21:56
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.

mean's dims argument is specializing as ::Function instead of ::Colon

3 participants