diff --git a/Trigger/TrigFTK/TrigFTKBankGen/src/FTKConstGenAlgo.cxx b/Trigger/TrigFTK/TrigFTKBankGen/src/FTKConstGenAlgo.cxx index 673ef46820ba23f3c8010a926e635d752a9f3fc9..357853479d1f26d26e4bd491d4a9975d59ce8f29 100644 --- a/Trigger/TrigFTK/TrigFTKBankGen/src/FTKConstGenAlgo.cxx +++ b/Trigger/TrigFTK/TrigFTKBankGen/src/FTKConstGenAlgo.cxx @@ -1649,7 +1649,7 @@ void FTKConstGenAlgo::extract_1stStage() Mtmp.Coto=tmpCoto, Mtmp.Z=tmpZ,Mtmp.nhit=nhit; // check if the module belongs to endcap (for endcap inversion.). - bool isEndcap[nplane]={0}; + std::vector<bool> isEndcap (nplane); for(int plane_idx_2nd_stage = 0;plane_idx_2nd_stage<nplane;plane_idx_2nd_stage++){ if(m_ITkMode){