Skip to content

Commit

Permalink
adding machine epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
faroit committed Jul 28, 2016
1 parent bffd78c commit 93f6a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsdtools/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def evaluate(self, estimates, references):
"""

sdr, isr, sir, sar, _ = mir_eval.separation.bss_eval_images_framewise(
estimates,
estimates + np.finfo(np.float).eps,
references,
compute_permutation=False,
window=self.window,
Expand Down

0 comments on commit 93f6a66

Please sign in to comment.