diff --git a/TPC/DAQ/TPCRawDataTree/TPCRawDataTree.cc b/TPC/DAQ/TPCRawDataTree/TPCRawDataTree.cc index efc5ee5c..0fc6612b 100644 --- a/TPC/DAQ/TPCRawDataTree/TPCRawDataTree.cc +++ b/TPC/DAQ/TPCRawDataTree/TPCRawDataTree.cc @@ -178,7 +178,7 @@ int TPCRawDataTree::process_event(PHCompositeNode *topNode) else{ fillHist=R3_hist; fillHist2D=R3_time;} - assert(m_nSamples < (int) m_adcSamples.size()); // no need for movements in memory allocation + assert(m_nSamples <= (int) m_adcSamples.size()); // no need for movements in memory allocation for (int s = 0; s < m_nSamples; s++) { m_adcSamples[s] = p->iValue(wf, s);