[issue28327] statistics.geometric_mean gives incorrect results for mixed int/float inputs

Mark Dickinson report at bugs.python.org
Sat Oct 1 08:20:11 EDT 2016


Mark Dickinson added the comment:

Here's a fix. I was planning to add tests, but as far as I can tell geometric_mean currently has no tests at all. Steve, is that correct? That seems like something that should be fixed before the 3.6 release.

----------
keywords: +patch
Added file: http://bugs.python.org/file44906/geometric_mean_int_float.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28327>
_______________________________________


More information about the Python-bugs-list mailing list