Skip to content
Snippets Groups Projects
Commit c360607c authored by Siarhei Harkusha's avatar Siarhei Harkusha Committed by Graeme Stewart
Browse files

fixed checking out-of-bounds array references to avoid gcc5 warnings (TileL2Algs-00-02-05)

	* src/TileL2Builder.cxx: fixed checking out-of-bounds array references to avoid gcc5 warnings
	* Tagging TileL2Algs-00-02-05
parent fe08f32a
No related branches found
No related tags found
No related merge requests found
......@@ -386,7 +386,7 @@ void TileL2Builder::MTagLB(int partition
/* Repair for muons splitted */
if (cand >= 4) std::abort();
if (cand > 4) std::abort();
for (int i = 0; i < cand; i++) {
for (int j = 0; j < i; j++) {
if ((cquality[i] + cquality[j]) == 0) {
......@@ -567,7 +567,7 @@ void TileL2Builder::MTagEB(int partition
/* Repair for muons splitted */
if (cand >= 4) std::abort();
if (cand > 4) std::abort();
for (int i = 0; i < cand; i++) {
for (int j = 0; j < i; j++) {
if ((cquality[i] + cquality[j]) == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment