Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Fix mapreduce() in a corner case #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix mapreduce() in a corner case #281

wants to merge 1 commit into from

Conversation

nalimilan
Copy link
Member

@nalimilan nalimilan commented Aug 2, 2017

mapreduce_seq_impl() does not exist in Base for a long time (JuliaLang/julia#16217), but this went unnoticed because since that code path is only used in very special conditions.
Another consequence of this bug is that the return type of mapreduce_pairwise_impl_skipna() was inferred as Any.

Add a test which would have triggered the failure.

Also rename a variable to fix a type instability due to using it for two
different things.

@nalimilan nalimilan force-pushed the nl/mapreduce branch 2 times, most recently from f0a241a to eca6161 Compare August 2, 2017 15:28
mapreduce_seq_impl() does not exist in Base for a long time, but this went
unnoticed because since that code path is only used in very special conditions.
Another consequence of this bug is that the return type of
mapreduce_pairwise_impl_skipna() was inferred as Any.
Add a test which would have triggered the failure.

Also rename a variable to fix a type instability due to using it for two
different things.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants