diff --git a/RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h b/RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h index 4ec7069ac8e1b..2e3747a2b6841 100644 --- a/RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h +++ b/RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h @@ -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()) { @@ -331,7 +331,7 @@ class GPUCACell { } } tmpNtuplet.pop_back(); - assert(tmpNtuplet.size() < 4); + assert(tmpNtuplet.size() < 5); } // Cell status management