Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Dildick committed Apr 28, 2020
1 parent 9085add commit e983c29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ std::vector<CSCCLCTDigi> CSCCathodeLCTProcessor::readoutCLCTs(int nMaxCLCTs) con
}

// remove the CLCTs with an index larger than nMaxCLCTs
if (tmpV.size() > nMaxCLCTs) {
if (tmpV.size() > unsigned(nMaxCLCTs)) {
tmpV.erase(tmpV.begin() + nMaxCLCTs, tmpV.end());
}

Expand Down

0 comments on commit e983c29

Please sign in to comment.