Ref T778, style and comments, debug hints

This commit is contained in:
Klaus Basan
2020-04-05 03:38:36 +02:00
committed by Mat Sutcliffe
parent 829777bf3a
commit 46d417c5a2
6 changed files with 9 additions and 5 deletions

View File

@@ -187,6 +187,7 @@ namespace BlackMisc
CInterpolatorSpline::CInterpolant CInterpolatorSpline::getInterpolant(SituationLog &log)
{
// recalculate derivatives only if they changed
// m_situationsLastModified updated in initIniterpolationStepData
const bool recalculate = (m_currentTimeMsSinceEpoch >= m_nextSampleAdjustedTime) || // new step
(m_situationsLastModified > m_situationsLastModifiedUsed); // modified