Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
a28d6764
Commit
a28d6764
authored
Mar 14, 2019
by
Morag Jean Williams
Browse files
Removing brackets
parent
8ae74e9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/detector/Detector.cpp
View file @
a28d6764
...
...
@@ -277,7 +277,7 @@ bool Detector::hasIntercept(const Track* track, double pixelTolerance) const {
// Check if the row and column are outside of the chip
bool
intercept
=
true
;
if
(
row
<
(
pixelTolerance
)
||
row
>
(
this
->
m_nPixels
.
Y
()
-
pixelTolerance
)
||
column
<
(
pixelTolerance
)
||
if
(
row
<
pixelTolerance
||
row
>
(
this
->
m_nPixels
.
Y
()
-
pixelTolerance
)
||
column
<
pixelTolerance
||
column
>
(
this
->
m_nPixels
.
X
()
-
pixelTolerance
))
intercept
=
false
;
...
...
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