Commit 73245d07 authored by Yaroslav Gevorkov's avatar Yaroslav Gevorkov
Browse files

bug fix

parent 8845abf7
......@@ -153,7 +153,7 @@ void PinkIndexer::reducePeakCount(Matrix3Xf& ucsDirections, Array2Xf& ucsBorderN
int peaksKept_normsIntensities = 0;
for (int i = 0; i < peaksKept_norms; i++)
{
if (intensities[i] >= minIntensity)
if (intensities[i] > minIntensity)
{
ucsDirections.col(peaksKept_normsIntensities) = ucsDirections.col(i);
ucsBorderNorms.col(peaksKept_normsIntensities) = ucsBorderNorms.col(i);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment