diff --git a/ApplicationLibCode/ProjectDataModel/Summary/RimEnsembleCrossPlotStatisticsCase.cpp b/ApplicationLibCode/ProjectDataModel/Summary/RimEnsembleCrossPlotStatisticsCase.cpp index 76c2ef5fc1..5337bfb4c0 100644 --- a/ApplicationLibCode/ProjectDataModel/Summary/RimEnsembleCrossPlotStatisticsCase.cpp +++ b/ApplicationLibCode/ProjectDataModel/Summary/RimEnsembleCrossPlotStatisticsCase.cpp @@ -196,7 +196,7 @@ void RimEnsembleCrossPlotStatisticsCase::calculate( const std::vector(binnedYValues.size()) > sampleCountThreshold ) + if ( static_cast( binnedYValues.size() ) > sampleCountThreshold ) { double p10, p50, p90, mean; RigStatisticsMath::calculateStatisticsCurves( binnedYValues, &p10, &p50, &p90, &mean, RigStatisticsMath::PercentileStyle::SWITCHED );