Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas White
pinkindexer
Commits
b83872ed
Commit
b83872ed
authored
Oct 27, 2018
by
Yaroslav Gevorkov
Browse files
bug fix
parent
2665bb66
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Refinement.cpp
View file @
b83872ed
...
...
@@ -190,7 +190,7 @@ void Refinement::getDefects(ArrayXf& defects, const Matrix3f& basis, const Matri
validCandidatePeaksCount
=
0
;
for
(
int
j
=
0
,
end
=
candidatePeaksNormsSquared
.
size
();
j
<
end
;
j
++
)
{
if
(
candidatePeaksNormsSquared
(
j
)
>
ucsBorderNormsSquared
(
0
,
i
)
&
candidatePeaksNormsSquared
(
j
)
<
ucsBorderNormsSquared
(
1
,
i
))
if
(
(
candidatePeaksNormsSquared
(
j
)
>
ucsBorderNormsSquared
(
0
,
i
)
)
&
(
candidatePeaksNormsSquared
(
j
)
<
ucsBorderNormsSquared
(
1
,
i
))
)
{
candidatePeaks
.
col
(
validCandidatePeaksCount
)
=
candidatePeaks
.
col
(
j
);
validCandidatePeaksCount
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment