mljs / matrix

Matrix manipulation and computation library
https://mljs.github.io/matrix/
MIT License
353 stars 54 forks source link

fix(DistanceMatrix): fromCompact with an empty array #188

Closed tpoisseau closed 3 months ago

tpoisseau commented 3 months ago

It was creating a distance matrix with 1 as diagonalSize instead 0

targos commented 3 months ago

Can you fix the ESLint errors in a separate commit?

tpoisseau commented 3 months ago

I had to remove my node_modules, then npm i to reproduce lint errors :/