Commit 0cea2cab authored by Yaroslav Gevorkov's avatar Yaroslav Gevorkov
Browse files

bug fix

parent 5ddb41c5
......@@ -89,7 +89,7 @@ void PinkIndexer::raducePeakCount(Matrix3Xf& ucsDirections, Array2Xf& ucsBorderN
int peaksKept_res = 0;
for (int i = 0; i < intensities.size(); i++)
{
if (ucsBorderNorms(1, i) >= maxResolutionForIndexing_1_per_A)
if (ucsBorderNorms(1, i) <= maxResolutionForIndexing_1_per_A)
{
ucsDirections.col(peaksKept_res) = ucsDirections.col(i);
ucsBorderNorms.col(peaksKept_res) = 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