Skip to content

Commit

Permalink
Merge pull request #235 from makortel/gccwarnings
Browse files Browse the repository at this point in the history
Fix compiler error with GCC 7
  • Loading branch information
osschar authored Aug 13, 2019
2 parents 9afc251 + a2c5e88 commit 8372eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkFit/HitStructures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void CombCandidate::MergeCandsAndBestShortOne(bool update_score, bool sort_cands
auto ci = finalcands.begin();
while (ci->getCandScore() > best_short.getCandScore()) ++ci;

if (finalcands.size() > Config::maxCandsPerSeed) finalcands.pop_back();
if (finalcands.size() > static_cast<size_t>(Config::maxCandsPerSeed)) finalcands.pop_back();

// To print out what has been replaced -- remove when done with short track handling.
/*
Expand Down

0 comments on commit 8372eb5

Please sign in to comment.