[go: nahoru, domu]

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

Clarify domain in argmin/argmax docstring #46737

Merged
merged 1 commit into from
Sep 14, 2022
Merged

Conversation

jishnub
Copy link
Contributor
@jishnub jishnub commented Sep 13, 2022

The current phrasing "Return a value x in the domain of f" is a bit misleading, as the domain of f may be much larger than the argument domain. It's better to be clear that the value returned will be an element of the domain that is provided.

The current phrasing "Return a value `x` in the domain of `f`" is a bit misleading, as the domain of `f` may be much larger than the argument `domain`. It's better to be clear that the value returned will be an element of the `domain` that is provided.
@gbaraldi gbaraldi added the domain:docs This change adds or pertains to documentation label Sep 13, 2022
@dkarrasch dkarrasch merged commit 35191ad into JuliaLang:master Sep 14, 2022
@dkarrasch
Copy link
Member

What a coincidence! In #46705 the same observation was made and a change proposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants