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

Replace .* with * in some 3-arg * methods #41545

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Conversation

mcabbott
Copy link
Contributor

As suggested here #37898 (comment), there's no good reason for this method to invoke broadcasting:

mat_mat_scalar(A, B, γ) = (A*B) .* γ # fallback

Before that PR it would be done A * B * γ = (A * B) * γ, and this PR restores that.

@dkarrasch dkarrasch added the linear algebra Linear algebra label Jul 11, 2021
@dkarrasch dkarrasch merged commit e3a06c4 into JuliaLang:master Jul 12, 2021
KristofferC pushed a commit that referenced this pull request Jul 19, 2021
@mcabbott mcabbott deleted the show3 branch July 4, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants