Fixes by clang-tidy

This commit is contained in:
kriben 2023-09-27 09:22:00 +00:00 committed by Kristian Bendiksen
parent 8022b4e5bb
commit be0d83e41e

View File

@ -1448,7 +1448,7 @@ void RimAnalysisPlot::addDataToChartBuilder( RiuGroupedBarChartBuilder& chartBui
reader->values( curveDef.summaryAddressY(), &values );
}
if ( !( !timeSteps.empty() && !values.empty() ) ) continue;
if ( timeSteps.empty() || values.empty() ) continue;
// Find selected timestep indices