Skip to content

Commit ff0ec26

Browse files
author
Alexander Tiekoetter
committed
Fix MegaLinter Error concerning daughters.empty()
1 parent 1e5eff6 commit ff0ec26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALICE3/TableProducer/alice3DqTableMaker.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ struct Alice3DqTableMaker {
684684
}
685685
constexpr int NDaughters = 2;
686686
std::array<int, NDaughters> daughterRange = {-1, -1};
687-
if (daughters.empty()) {
687+
if (!daughters.empty()) {
688688
daughterRange[0] = daughters[0];
689689
daughterRange[1] = daughters[daughters.size() - 1];
690690
}

0 commit comments

Comments
 (0)