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 test for Issue #17153 and PR #17154 #17164

Merged
merged 2 commits into from
Jul 18, 2016
Merged

Conversation

ranjanan
Copy link
Contributor

@ranjanan ranjanan commented Jun 28, 2016

Add test for Issue #17153 and PR #17154, where there was a bug where median was mutating the input array. Add a simple test to make sure these functions do not become mutating.

cc: @simonbyrne , @StefanKarpinski

@ranjanan
Copy link
Contributor Author

Oh wait, I guess @simonbyrne already had a test for this. So this is unnecessary, I suppose.

@ranjanan ranjanan closed this Jun 28, 2016
@tkelman
Copy link
Contributor

tkelman commented Jun 28, 2016

still likely valuable for coverage reasons if nothing else, since these look a little different than the tests from #17154

@kshyatt kshyatt added the test This change adds or pertains to unit tests label Jun 28, 2016
@yuyichao
Copy link
Contributor

And please mention what is this testing, not just the issue/pr numbers.....

@ranjanan
Copy link
Contributor Author

ranjanan commented Jun 28, 2016

@yuyichao I have edited my comment. Will do so from next time onwards. :)

@yuyichao
Copy link
Contributor

OK for this time. Would be good to include that in the first line of the commit message.

@ranjanan
Copy link
Contributor Author

I guess the only bug here was the whitespaces.

@ranjanan
Copy link
Contributor Author

@tkelman @yuyichao any further comments?

@kshyatt kshyatt added the maths Mathematical functions label Jul 18, 2016
@tkelman tkelman merged commit f5764ac into JuliaLang:master Jul 18, 2016
mfasi pushed a commit to mfasi/julia that referenced this pull request Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maths Mathematical functions test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants