Skip to content

Commit

Permalink
#12166 Statistics Contour Map: Static results do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Feb 17, 2025
1 parent ec82337 commit bf57911
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,11 @@ std::vector<double> RimStatisticsContourMap::result( size_t timeStep, Statistics
//--------------------------------------------------------------------------------------------------
std::vector<int> RimStatisticsContourMap::selectedTimeSteps() const
{
if ( !m_resultDefinition->hasDynamicResult() )
{
return { 0 };
}

auto steps = m_selectedTimeSteps();
std::sort( steps.begin(), steps.end() );
return steps;
Expand Down

0 comments on commit bf57911

Please sign in to comment.