Skip to content

Conversation

@jw3126
Copy link
Contributor

@jw3126 jw3126 commented Oct 30, 2020

Copy link
Contributor

@raminammour raminammour left a comment

Choose a reason for hiding this comment

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

Shouldn't this be:
get_num_threads(;_blas=guess_vendor())::Union{Int, Nothing} = _get_num_threads(_blas=_blas)

the keyword is used in the function just below if the user passes it.

@dkarrasch dkarrasch added the linear algebra Linear algebra label Oct 30, 2020
@jw3126
Copy link
Contributor Author

jw3126 commented Oct 30, 2020

Shouldn't this be:
get_num_threads(;_blas=guess_vendor())::Union{Int, Nothing} = _get_num_threads(_blas=_blas)

the keyword is used in the function just below if the user passes it.

No this keyword is private and should not be used. It exists only to allow a certain unit test.

@jw3126
Copy link
Contributor Author

jw3126 commented Oct 30, 2020

CI fail seems unrelated.

@dkarrasch dkarrasch merged commit 94e908f into JuliaLang:master Nov 1, 2020
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