Skip to content

Commit

Permalink
chore: remove wrong line
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Feb 18, 2021
1 parent 830a305 commit 603acd1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Expand Up @@ -171,7 +171,6 @@ function extractPeaks(pixels, options) {
tmp.x += col * data[i];
tmp.y += row * data[i];
tmp.z += originalData[i];
tmp.count++;
if (col < tmp.minX) tmp.minX = col;
if (col > tmp.maxX) tmp.maxX = col;
if (row < tmp.minY) tmp.minY = row;
Expand All @@ -181,7 +180,6 @@ function extractPeaks(pixels, options) {
x: col * data[i],
y: row * data[i],
z: originalData[i],
count: 1,
minX: col,
maxX: col,
minY: row,
Expand Down

0 comments on commit 603acd1

Please sign in to comment.