Fixed errors in 2b881f2cb8.

Statistics were not calculated properly for early timesteps when directly accessing a late timestep.
This commit is contained in:
Jacob Støren
2015-06-24 14:03:00 +02:00
parent 38b40423d8
commit 5b17c27b51
2 changed files with 17 additions and 2 deletions

View File

@@ -63,7 +63,9 @@ private:
std::vector<size_t> m_histogram;
std::vector<std::pair<double, double> > m_maxMinValuesPrTs; ///< Max min values for each time step
std::vector<bool> m_isMaxMinPrTsCalculated;
std::vector<std::pair<double, double> > m_posNegClosestToZeroPrTs; ///< PosNeg values for each time step
std::vector<bool> m_isClosestToZeroPrTsCalculated;
cvf::ref<RigStatisticsCalculator> m_statisticsCalculator;
};