@@ -642,7 +642,7 @@ GPUd() int GPUTPCGMPropagator::Update(float posY, float posZ, int iRow, const GP
642642 GetErr2 (err2Y, err2Z, param, posZ, iRow, clusterState);
643643
644644 if (rejectChi2 >= 2 ) {
645- if (rejectChi2 == 3 && inter->errorY < 0 ) {
645+ if (rejectChi2 == 3 && inter->errorY < ( GPUCA_MERGER_INTERPOLATION_ERROR_TYPE ) 0 ) {
646646 rejectChi2 = 1 ;
647647 } else {
648648 int retVal = InterpolateReject (posY, posZ, clusterState, rejectChi2, inter, err2Y, err2Z);
@@ -686,8 +686,8 @@ GPUd() int GPUTPCGMPropagator::InterpolateReject(float posY, float posZ, short c
686686 if (mFitInProjections || mT ->NDF () <= 0 ) {
687687 const float Iz0 = inter->posY - mP [0 ];
688688 const float Iz1 = inter->posZ - mP [1 ];
689- const float Iw0 = 1 .f / (mC [0 ] + inter->errorY );
690- const float Iw2 = 1 .f / (mC [2 ] + inter->errorZ );
689+ const float Iw0 = 1 .f / (mC [0 ] + ( float ) inter->errorY );
690+ const float Iw2 = 1 .f / (mC [2 ] + ( float ) inter->errorZ );
691691 const float Ik00 = mC [0 ] * Iw0;
692692 const float Ik11 = mC [2 ] * Iw2;
693693 const float ImP0 = mP [0 ] + Ik00 * Iz0;
@@ -704,8 +704,8 @@ GPUd() int GPUTPCGMPropagator::InterpolateReject(float posY, float posZ, short c
704704 } else {
705705 const float Iz0 = inter->posY - mP [0 ];
706706 const float Iz1 = inter->posZ - mP [1 ];
707- float Iw0 = mC [2 ] + inter->errorZ ;
708- float Iw2 = mC [0 ] + inter->errorY ;
707+ float Iw0 = mC [2 ] + ( float ) inter->errorZ ;
708+ float Iw2 = mC [0 ] + ( float ) inter->errorY ;
709709 float Idet = CAMath::Max (1e-10f , Iw0 * Iw2 - mC [1 ] * mC [1 ]);
710710 Idet = 1 .f / Idet;
711711 Iw0 *= Idet;
0 commit comments