Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Utilities/Mergers/src/MergerAlgorithm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Long64_t mergeDefault(TObject* const target, TObject* const other)
// Merge() does not support averages, we have to use Add()
// this will break if collection.size != 1
if (auto otherTH1 = dynamic_cast<TH1*>(otherCollection.First())) {
errorCode = targetTH1->Add(otherTH1);
errorCode = targetTH1->Add(otherTH1) == kFALSE ? -1 : 0;
}
} else {
// Add() does not support histograms with labels, thus we resort to Merge() by default
Expand Down
Loading