From cbfb2a6670f48e3a7e136c8fbbeaed8005e9e258 Mon Sep 17 00:00:00 2001 From: Marino Missiroli Date: Wed, 19 Oct 2022 18:55:00 +0200 Subject: [PATCH] loosen check on ntuplet size in GPUCACell::find_ntuplets --- RecoPixelVertexing/PixelTriplets/plugins/GPUCACell.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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