-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Documentation for broadcasted addition assignment not matching implementation #38897
Comments
albheim
changed the title
Documentation for broadcasted addition assignment not true to how it works
Documentation for broadcasted addition assignment not matching implementation
Dec 15, 2020
mbauman
added a commit
that referenced
this issue
Dec 15, 2020
Also change "equivalent to" to a more rough "akin to" since `x .op y` isn't always identical to `broadcast(op, x, y)`.
Thanks; you're right the implementation is what we want. Doc fix in #38898. |
KristofferC
pushed a commit
that referenced
this issue
Dec 17, 2020
staticfloat
pushed a commit
that referenced
this issue
Jan 15, 2021
ElOceanografo
pushed a commit
to ElOceanografo/julia
that referenced
this issue
May 4, 2021
Also change "equivalent to" to a more rough "akin to" since `x .op y` isn't always identical to `broadcast(op, x, y)`.
staticfloat
pushed a commit
that referenced
this issue
Dec 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docstring for
.+=
says that it is a synonym forx = x .+ y
but seems to rather be a synonym forx .= x .+ y
. I'm not sure what I think the correct way should be (leaning towards the implementation being correct), but either implementation or documentation should be updated to match behavior and description.Ran this on Julia 1.5.3
Example with array:
Example with tuple:
The text was updated successfully, but these errors were encountered: