Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Incorrect method usage in Distance.GetDistance? #245

@anders9ustafsson

Description

@anders9ustafsson

Looking at the variable names and the general workflow of the Distance.GetDistance<T> method in the Accord.Math library, I suspect that this line:

var methods = typeof(Distance).GetMembers(BindingFlags.Public | BindingFlags.Static);

should be replaced with this line?

var methods = typeof(Distance).GetMethods(BindingFlags.Public | BindingFlags.Static);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions