fakufaku / fast_bss_eval

A fast implementation of bss_eval metrics for blind source separation
https://fast-bss-eval.readthedocs.io/en/latest/
MIT License
130 stars 8 forks source link

Fixes an issue where nan would be returned for float32 array in pytorch #6

Closed fakufaku closed 2 years ago

fakufaku commented 2 years ago

Fix for issue #5

codecov[bot] commented 2 years ago

Codecov Report

Merging #6 (a35720c) into main (0d4acd8) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   86.57%   86.59%   +0.02%     
==========================================
  Files          14       14              
  Lines         968      970       +2     
  Branches      149      149              
==========================================
+ Hits          838      840       +2     
  Misses         84       84              
  Partials       46       46              
Impacted Files Coverage Δ
fast_bss_eval/numpy/helpers.py 64.70% <100.00%> (+0.52%) :arrow_up:
fast_bss_eval/torch/helpers.py 64.06% <100.00%> (+0.57%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more