Hacker News new | ask | show | jobs
by tomrod 1284 days ago
Scipy (I believe Numpy parent project) just straight up has wrong formulas in some of its methods because they are legacy and changing them would change people's codes.

Hamming distance was one, if I recall correctly, that wasn't correct, as well as a few others in its parent module.

I still use the package, of course, because its great. But given the disconnect I saw I'm still careful when documenting as to what method is used (and use a comment to clarify). Most of the time it isn't a huge deal.