@@ -304,7 +304,7 @@ void StatIdx::initGroups() {
if (orGr.mergeId == 0)
orGr.mergeId = _stations[i].group;
else if (orGr.mergeId != _stations[i].group)
- orGr.mergeId = _stations[i].group;
+ orGr.mergeId = orGr.id;
}
assert(_stations[i].group < _groups.size());