Skip to content

statistics.geometric_mean gives incorrect results for mixed int/float inputs #72514

@mdickinson

Description

@mdickinson
BPO 28327
Nosy @mdickinson, @stevendaprano, @iritkatriel
Files
  • geometric_mean_int_float.patch
  • geometric_mean_int_float_v2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/stevendaprano'
    closed_at = <Date 2021-08-20.10:02:48.549>
    created_at = <Date 2016-10-01.12:18:35.892>
    labels = ['type-bug', '3.7']
    title = 'statistics.geometric_mean gives incorrect results for mixed int/float inputs'
    updated_at = <Date 2021-08-20.10:02:48.548>
    user = 'https://github.com/mdickinson'

    bugs.python.org fields:

    activity = <Date 2021-08-20.10:02:48.548>
    actor = 'mark.dickinson'
    assignee = 'steven.daprano'
    closed = True
    closed_date = <Date 2021-08-20.10:02:48.549>
    closer = 'mark.dickinson'
    components = []
    creation = <Date 2016-10-01.12:18:35.892>
    creator = 'mark.dickinson'
    dependencies = []
    files = ['44906', '44908']
    hgrepos = []
    issue_num = 28327
    keywords = ['patch']
    message_count = 6.0
    messages = ['277808', '277809', '277814', '277815', '399948', '399951']
    nosy_count = 3.0
    nosy_names = ['mark.dickinson', 'steven.daprano', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28327'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions