make sure that group has indeed any elements.

This commit is contained in:
suter_a 2021-04-12 07:50:37 +02:00
parent 57885ad4c2
commit 865efb506a

View File

@ -7033,6 +7033,9 @@ void PMsrHandler::MakeDetectorGroupingString(TString str, PIntVector &group, TSt
str = ""; str = "";
} }
if (group.size()==0)
return;
UInt_t i=0, j=0; UInt_t i=0, j=0;
do { do {
j = i; j = i;