Skip to content

Commit 805a3c9

Browse files
authored
Merge pull request #26 from alibuild/alibot-cleanup-14378
Please consider the following formatting changes to #14378
2 parents 57ff901 + 05a4d3f commit 805a3c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

GPU/GPUTracking/TPCClusterFinder/GPUTPCCFDeconvolution.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ GPUdii() void GPUTPCCFDeconvolution::deconvolutionImpl(int32_t nBlocks, int32_t
113113

114114
PackedCharge charge = chargeMap[pos];
115115

116-
if(overwriteCharge) {
116+
if (overwriteCharge) {
117117
PackedCharge p(charge.unpack() / peakCount, has3x3, split);
118118
chargeMap[pos] = p;
119119
} else {

GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerKernels.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::fil
126126

127127
if (clustererNN.mNnClusterizerAddIndexData && (int32_t)transient_index == (clustererNN.mNnClusterizerElementSize - 1)) {
128128
uint32_t top_idx = (base_idx + 1) * clustererNN.mNnClusterizerElementSize;
129-
if (!clustererNN.mNnClusterizerSetDeconvolutionFlags){ // Only if deconvolution flags are not set
130-
for (uint16_t i = 0; i < 8; i++) { // This solution needs testing. It is not the same as the deconvolution flags
129+
if (!clustererNN.mNnClusterizerSetDeconvolutionFlags) { // Only if deconvolution flags are not set
130+
for (uint16_t i = 0; i < 8; i++) { // This solution needs testing. It is not the same as the deconvolution flags
131131
Delta2 d = cfconsts::InnerNeighbors[i];
132132
CfChargePos tmp_pos = peak.delta(d);
133133
clustererNN.mClusterFlags[2 * base_idx] += CfUtils::isPeak(isPeakMap[tmp_pos]);
@@ -470,14 +470,14 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::pub
470470
CfArray2D<PackedCharge> chargeMap(reinterpret_cast<PackedCharge*>(clusterer.mPchargeMap));
471471
CfChargePos peak = clusterer.mPfilteredPeakPositions[idx + batchStart];
472472

473-
for(int i = 0; i < 8; i++) {
473+
for (int i = 0; i < 8; i++) {
474474
Delta2 d = cfconsts::InnerNeighbors[i];
475475
CfChargePos tmp_pos = peak.delta(d);
476476
PackedCharge charge = chargeMap[tmp_pos];
477477
clustererNN.mClusterFlags[2 * idx] += (d.y != 0 && charge.isSplit());
478478
clustererNN.mClusterFlags[2 * idx + 1] += (d.x != 0 && charge.isSplit());
479479
}
480-
for(int i = 0; i < 16; i++) {
480+
for (int i = 0; i < 16; i++) {
481481
Delta2 d = cfconsts::OuterNeighbors[i];
482482
CfChargePos tmp_pos = peak.delta(d);
483483
PackedCharge charge = chargeMap[tmp_pos];

0 commit comments

Comments
 (0)