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

Guard against calling gemv! with empty output #69

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

martinholters
Copy link
Member

This was made an error in JuliaLang/julia#41513. It would be re-enabled by JuliaLang/julia#42012 or JuliaLang/julia#42054, but obviously, the gemv! call can just be omitted if the output is empty anyway. So while this change might turn out not to be required in the long run, it surely doesn't hurt. (And might even buy a little bit of performance for the trivial cases by avoiding unnecessary call overhead while the cost of the extra checks should not matter in non-trivial cases.)

This was made an error in JuliaLang/julia#41513.
Obviously, the `gemv!` call can just be omitted if the output is empty
anyway.
@martinholters martinholters changed the title Guard against callling gemv! with empty output Guard against calling gemv! with empty output Sep 6, 2021
@martinholters martinholters merged commit e985932 into main Sep 6, 2021
@martinholters martinholters deleted the mh/fix-for-julia-41513 branch September 6, 2021 08:52
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.

1 participant