Skip to content

Commit c450b27

Browse files
committed
fixing macos errors
1 parent 674113f commit c450b27

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Common/TableProducer/PID/pidTPCBase.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ struct DeDxCorrection {
127127
occupancy = 0;
128128
}
129129

130-
float signedP = trk.sign() * trk.tpcInnerParam();
131130
float fTPCSignal = trk.tpcSignal();
132131
float fNormMultTPC = multTPC / 11000.;
133132

Common/TableProducer/PID/pidTPCBase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ typedef struct Str_dEdx_correction {
9494
for (int i = 0; i < fMatrix.GetNrows(); i++) {
9595
for (int j = 0; j < fMatrix.GetNcols(); j++) {
9696
double param = fMatrix(i, j);
97-
double value1 = i > vec1.size() ? 0 : vec1[i];
98-
double value2 = j > vec2.size() ? 0 : vec2[j];
97+
double value1 = i > static_cast<int>(vec1.size()) ? 0 : vec1[i];
98+
double value2 = j > static_cast<int>(vec2.size()) ? 0 : vec2[j];
9999
result += param * value1 * value2;
100100
}
101101
}

0 commit comments

Comments
 (0)