Skip to content

Commit 2a32b97

Browse files
Change return type in segmentation function
Updated return statement to remove false return value.
1 parent 42c13bf commit 2a32b97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation

Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Segmentation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ inline void Segmentation::localToDetectorUnchecked(float xRow, float zCol, int&
174174
// convert to row/col w/o over/underflow check
175175
if (subDetectorID != 0 && subDetectorID != 1) {
176176
iRow = iCol = -1;
177-
return false;
177+
return;
178178
}
179179
const ChipSpecifics& specsConfig = (subDetectorID == 0) ? mITofSpecsConfig : mOTofSpecsConfig;
180180
xRow = 0.5 * (specsConfig.ActiveMatrixSizeRows() - specsConfig.PassiveEdgeTop + specsConfig.PassiveEdgeReadOut) - xRow; // coordinate wrt top edge of Active matrix

0 commit comments

Comments
 (0)