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

Add doctest example for broadcast! #28653

Merged
merged 1 commit into from
Aug 19, 2018
Merged

Add doctest example for broadcast! #28653

merged 1 commit into from
Aug 19, 2018

Conversation

kshyatt
Copy link
Contributor

@kshyatt kshyatt commented Aug 14, 2018

Just wanted to show the different dest behaviors.

@kshyatt kshyatt added docs This change adds or pertains to documentation broadcast Applying a function over a collection labels Aug 14, 2018
@kshyatt
Copy link
Contributor Author

kshyatt commented Aug 15, 2018

Looks like we had a build timeout on OSX. Any thoughts on this?

@KristofferC
Copy link
Member

My thought is that building GCC from scratch on CI is an unwise thing to do :)

@kshyatt
Copy link
Contributor Author

kshyatt commented Aug 15, 2018

@KristofferC you're paying the snarky comment review price 😛. Does the added example seem ok?

```jldoctest
julia> A = [1.0; 0.0];

julia> B = [0.0; 0.0];
Copy link
Member

Choose a reason for hiding this comment

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

Put A and B on the same line?

I noticed more and more that is becomes kinda annoying when the examples take too much vertical space so I try to condense as much as possible.

@kshyatt kshyatt merged commit 06dd840 into master Aug 19, 2018
@kshyatt kshyatt deleted the ksh/broadcastex branch August 19, 2018 17:46
@KristofferC KristofferC mentioned this pull request Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broadcast Applying a function over a collection docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants