Skip to content

[Bug] Half_mean does not return the correct value #22

@Prathmesh2498

Description

@Prathmesh2498

The function half mean returns the distance between left and lefts[-1]. Since the rows are not sorted, lefts[-1] does not correspond to the point closest to C/2.
The projections should be done for row in sorted(rows) instead of for row in rows.
(Issue raised as requested by Professor Menzies)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions