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

Deprecate vectorized mod methods in favor of compact broadcast syntax #18593

Closed
wants to merge 1 commit into from

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Sep 20, 2016

This PR deprecates (almost) all remaining vectorized mod methods (less those for SparseVectors and one related to dates, separate PRs) in favor of compact broadcast syntax. Ref. #16285, #17302, #18495, #18512, #18513, #18558, #18564, #18566, #18571 #18575, #18576, #18586, and #18590. Best!

Edit: Added a couple questions for reviewers via comments in the code.

(Unlike with float, real, etc., the remaining vectorized mod methods never alias their input. This PR should be less controversial than #18495, #18512, and #18513 as a result.)

@Sacha0
Copy link
Member Author

Sacha0 commented Dec 23, 2016

Rebased. Best!

@Sacha0 Sacha0 added this to the 0.6.0 milestone Dec 23, 2016
@@ -1003,6 +1003,7 @@ macro vectorize_2arg(S,f)
end
export @vectorize_1arg, @vectorize_2arg

<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

bad rebase

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed. Thanks!

@Sacha0
Copy link
Member Author

Sacha0 commented Dec 31, 2016

Subsumed by #19791.

@Sacha0 Sacha0 closed this Dec 31, 2016
@Sacha0 Sacha0 deleted the devecmod branch December 31, 2016 05:08
@tkelman
Copy link
Contributor

tkelman commented Dec 31, 2016

Added a couple questions for reviewers via comments in the code.

Can you remember what those were?

@Sacha0
Copy link
Member Author

Sacha0 commented Dec 31, 2016

Can you remember what those were?

Checked local branch. No comments appear, so chances are those questions were resolved and removed. I imagine those questions concerned whether to remove certain methods for BitArray or transform them into broadcast specializations, since settled. Best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broadcast Applying a function over a collection maths Mathematical functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants