Commit a28d6764 authored by Morag Jean Williams's avatar Morag Jean Williams
Browse files

Removing brackets

parent 8ae74e9d
......@@ -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;
......
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