Skip to content

Conversation

@jmh530
Copy link
Contributor

@jmh530 jmh530 commented Jun 30, 2020

This improves documentation for median.

It also makes a few changes, including to the output type. I changed it to meanType because when the length is even then a mean must be calculated and I think it is better to have the right value than potentially provide a wrong int value. It provides more information to why one cannot pass a const or immutable slice when allowModify=true. However, this does not resolve issue 293, which is for the case when allowModify=false.

@9il 9il merged commit cc7df88 into libmir:master Jul 3, 2020
@jmh530 jmh530 deleted the jmh530-medianchg branch July 3, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants