We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a1fef commit 1d1d3d8Copy full SHA for 1d1d3d8
1 file changed
GPU/TPCFastTransformation/TPCFastSpaceChargeCorrection.cxx
@@ -509,8 +509,8 @@ void TPCFastSpaceChargeCorrection::finishConstruction()
509
size_t bufferSize = scBufferOffsets[0] + scBufferSize;
510
size_t correctionDataOffset[3];
511
for (int32_t is = 0; is < 3; is++) {
512
- correctionDataOffset[is] = alignSize(bufferSize, SplineType::getParameterAlignmentBytes());
513
- bufferSize = correctionDataOffset[is];
+ bufferSize = alignSize(bufferSize, SplineType::getParameterAlignmentBytes());
+ correctionDataOffset[is] = bufferSize;
514
mSectorDataSizeBytes[is] = 0;
515
for (int32_t j = 0; j < mGeo.getNumberOfRows(); j++) {
516
RowInfo& row = getRowInfo(j);
0 commit comments