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

Description
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);