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 inbounds macro to dot prodcut for sparse vectors #32837

Merged

Conversation

goggle
Copy link
Contributor

@goggle goggle commented Aug 9, 2019

That PR is just a small improvement. It adds the @inbounds macro to the method dot(x::AbstractVector{Tx}, y::SparseVectorUnion{Ty}) as it is already done in the similar method dot(x::SparseVectorUnion{Tx}, y::AbstractVector{Ty}) (see https://github.com/goggle/julia/blob/6dad38e65e00525eb889abb33e6b23109c34e666/stdlib/SparseArrays/src/sparsevector.jl#L1432).

@StefanKarpinski StefanKarpinski merged commit 3419e3c into JuliaLang:master Aug 9, 2019
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.

None yet

3 participants