mljs / matrix

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

feat: type check input array #149

Closed chrispahm closed 2 years ago

chrispahm commented 2 years ago

Check if every element in input array is numeric, fixes #148

codecov[bot] commented 2 years ago

Codecov Report

Merging #149 (4a38bc5) into main (7a593b5) will increase coverage by 0.05%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   66.62%   66.67%   +0.05%     
==========================================
  Files          32       32              
  Lines        3227     3232       +5     
  Branches      513      514       +1     
==========================================
+ Hits         2150     2155       +5     
  Misses        997      997              
  Partials       80       80              
Impacted Files Coverage Δ
src/matrix.js 76.97% <100.00%> (+0.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7a593b5...4a38bc5. Read the comment docs.

stropitek commented 2 years ago

Thank you for the PR!

Could you: