Skip to content
Snippets Groups Projects
Commit b32ec26e authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

bugfix in L1: wrong number of OpenMP locks

parent 2434553f
No related branches found
No related tags found
1 merge request!375Improvement of L1Vector, 2 bug fixes
......@@ -373,8 +373,8 @@ void L1Algo::SetData(vector<L1StsHit>& StsHits_, int nStsStrips_, const vector<f
RealIHit_v_buf2.resize(nHits);
#ifdef _OPENMP
fHitToBestTrackF.resize(NhitsGlobal * 2);
fHitToBestTrackB.resize(NhitsGlobal * 2);
fHitToBestTrackF.resize(NStsStrips);
fHitToBestTrackB.resize(NStsStrips);
for (unsigned int j = 0; j < fHitToBestTrackB.size(); j++) {
omp_init_lock(&fHitToBestTrackB[j]);
omp_init_lock(&fHitToBestTrackF[j]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment