Fix analysis plot filter limits to include the interval min/max

This commit is contained in:
Gaute Lindkvist 2020-07-31 15:37:18 +02:00
parent 3cb40ca50d
commit 71954f7252

View File

@ -1102,7 +1102,7 @@ void RimAnalysisPlot::applyFilter( const RimPlotDataFilterItem* filter,
if ( filter->useAbsoluteValues() ) value = fabs( value );
if ( minMax.first < value && value < minMax.second )
if ( minMax.first <= value && value <= minMax.second )
{
casesToKeep.insert( sumCase );
}