Skip to content

Commit

Permalink
loosen check on ntuplet size in GPUCACell::find_ntuplets
Browse files Browse the repository at this point in the history
  • Loading branch information
missirol committed Oct 19, 2022
1 parent fc7c9a9 commit cbfb2a6
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 cbfb2a6

Please sign in to comment.