Skip to content

Commit

Permalink
Merge pull request #39782 from missirol/devel_CANtupletSizeAssert_124X
Browse files Browse the repository at this point in the history
loosen check on ntuplet size in `GPUCACell::find_ntuplets` [`12_4_X`]
  • Loading branch information
cmsbuild authored Oct 21, 2022
2 parents 437a3bf + cbfb2a6 commit 068e5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h
Original file line number Diff line number Diff line change
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 068e5b3

Please sign in to comment.