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

Allow passing a function to extrema #30323

Merged
merged 1 commit into from
Dec 14, 2018
Merged

Conversation

ararslan
Copy link
Member

@ararslan ararslan commented Dec 8, 2018

Currently minimum and maximum can accept a function argument, but extrema cannot. This makes it consistent.

I've set the !!! compat to Julia 1.1, but if this can't make it into the release then I can set it to 1.2 or whatever. Set to 1.2.

@ararslan ararslan added domain:arrays [a, r, r, a, y, s] domain:maths Mathematical functions labels Dec 8, 2018
@StefanKarpinski StefanKarpinski added backport pending 1.1 status:triage This should be discussed on a triage call labels Dec 10, 2018
@StefanKarpinski
Copy link
Sponsor Member

Marking for triage just to discuss whether we're allowing backports of new features past the 1.1 release branch date.

base/multidimensional.jl Outdated Show resolved Hide resolved
@ararslan
Copy link
Member Author

Test failures are from Pkg due to the current registry apocalypse

@StefanKarpinski
Copy link
Sponsor Member

Should be better now.

@JeffBezanson
Copy link
Sponsor Member

No, I don't think we should backport new features. IMO backporting after branch is only to fix release blockers.

@ararslan ararslan removed the status:triage This should be discussed on a triage call label Dec 11, 2018
Currently `minimum` and `maximum` can accept a function argument, but
`extrema` cannot. This makes it consistent.
@ararslan
Copy link
Member Author

32-bit Windows failure is the Profile thing.

@StefanKarpinski StefanKarpinski merged commit 01fe7c2 into master Dec 14, 2018
@StefanKarpinski StefanKarpinski deleted the aa/extrema-function branch December 14, 2018 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:arrays [a, r, r, a, y, s] domain:maths Mathematical functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants