Skip to content

Commit e8e9523

Browse files
wiechulashahor02
authored andcommitted
fix logic
1 parent 985e57d commit e8e9523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/TPC/base/src/Painter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ std::vector<TCanvas*> painter::makeSummaryCanvases(const CalDet<T>& calDet, int
268268
const std::string_view calName = calDet.getName();
269269

270270
if (outputCanvases) {
271-
if (!(outputCanvases->size() < 3)) {
271+
if (outputCanvases->size() < 3) {
272272
LOGP(error, "At least 3 canvases are needed to fill the output, only {} given", outputCanvases->size());
273273
return vecCanvases;
274274
}

0 commit comments

Comments
 (0)