Skip to content

Commit 792b5a7

Browse files
committed
fixing warnings
1 parent 1245587 commit 792b5a7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

PWGJE/Core/JetUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ std::tuple<std::vector<int>, std::vector<int>> MatchJetsGeometricallyImpl(
213213
if (matchIndexTag[iBase] > -1) {
214214
LOG(debug) << "tag jet " << matchIndexTag[iBase] << ": matched base jet " << matchIndexBase[matchIndexTag[iBase]] << "\n";
215215
}
216-
if (matchIndexTag[iBase] > -1 && matchIndexBase[matchIndexTag[iBase]] == iBase) {
216+
if (matchIndexTag[iBase] > -1 && matchIndexBase[matchIndexTag[iBase]] == (int) iBase) {
217217
LOG(debug) << "True match! base index: " << iBase << ", tag index: " << matchIndexTag[iBase] << "\n";
218218
baseToTagMap[iBase] = matchIndexTag[iBase];
219219
tagToBaseMap[matchIndexTag[iBase]] = iBase;

PWGLF/TableProducer/lambdakzerofinder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ struct lambdakzerofinder {
155155

156156
Long_t lNCand = 0;
157157

158-
std::array<float, 3> pVtx = {collision.posX(), collision.posY(), collision.posZ()};
158+
// std::array<float, 3> pVtx = {collision.posX(), collision.posY(), collision.posZ()};
159159

160160
for (auto& t0id : ptracks) { //FIXME: turn into combination(...)
161161
auto t0 = t0id.goodTrack_as<soa::Join<aod::FullTracks, aod::TracksCov>>();

0 commit comments

Comments
 (0)