Skip to content

Commit 750991a

Browse files
committed
Removed redundant check TODO code
1 parent 3e1a3a1 commit 750991a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/graph_spectrum_calc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,8 @@ GraphSpectrumCalc.dataLoadFrequencyPSD = function() {
114114
let min = 1e6,
115115
max = -1e6;
116116
for (let i = 0; i < psd.length; i++) {
117-
if (Math.abs(psd[i]) < 200) { // TODO: this is temporary infinity values filter
118117
min = Math.min(psd[i], min);
119118
max = Math.max(psd[i], max);
120-
}
121119
}
122120

123121
const psdData = {

0 commit comments

Comments
 (0)