File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Detectors/TPC/calibration/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -690,9 +690,9 @@ std::unique_ptr<o2::gpu::TPCFastSpaceChargeCorrection> TPCFastSpaceChargeCorrect
690690 LOG (warning) << directionName << " correction: error N " << nErrors << " fitted voxel position is outside the voxel: "
691691 << " sector " << iSector << " row " << iRow << " bin y " << iy << " bin z " << iz
692692 << msg.str ();
693- maxError[0 ] = GPUCommonMath::Max (maxError[0 ], fabs (data.mX - x) / dx);
694- maxError[1 ] = GPUCommonMath::Max (maxError[1 ], fabs (data.mY - vox.mY ) / vox.mDy );
695- maxError[2 ] = GPUCommonMath::Max (maxError[2 ], fabs (data.mZ - vox.mZ ) / vox.mDz );
693+ maxError[0 ] = GPUCommonMath::Max< double > (maxError[0 ], fabs (data.mX - x) / dx);
694+ maxError[1 ] = GPUCommonMath::Max< double > (maxError[1 ], fabs (data.mY - vox.mY ) / vox.mDy );
695+ maxError[2 ] = GPUCommonMath::Max< double > (maxError[2 ], fabs (data.mZ - vox.mZ ) / vox.mDz );
696696 }
697697 mutex.unlock ();
698698 }
You can’t perform that action at this time.
0 commit comments