Skip to content

Commit

Permalink
Merge pull request #39781 from missirol/devel_CANtupletSizeAssert_125X
Browse files Browse the repository at this point in the history
loosen check on ntuplet size in `GPUCACell::find_ntuplets` [`12_5_X`]
  • Loading branch information
cmsbuild committed Oct 21, 2022
2 parents 5141050 + 83c5796 commit f9e2d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h
Expand Up @@ -290,7 +290,7 @@ class GPUCACell {

auto doubletId = this - cells;
tmpNtuplet.push_back_unsafe(doubletId);
assert(tmpNtuplet.size() <= 4);
assert(tmpNtuplet.size() <= 5);

bool last = true;
for (unsigned int otherCell : outerNeighbors()) {
Expand Down Expand Up @@ -331,7 +331,7 @@ class GPUCACell {
}
}
tmpNtuplet.pop_back();
assert(tmpNtuplet.size() < 4);
assert(tmpNtuplet.size() < 5);
}

// Cell status management
Expand Down

0 comments on commit f9e2d58

Please sign in to comment.