scipy/scipy — pull request #2729 by josef-pkt (2013-08-16 18:42:09+00:00)
Title: Bug: stats trim_mean

fixes bug for >1d array,
add axis argument closes #2554

Note: existing unit tests used sorted array, which didn't hit the sorting bug
I reshuffled the numbers

I tested this outside of scipy source and then copied it into the source files