1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 19:55:53 +01:00

Fixed broken speed type switch (typo)

This commit is contained in:
Martin Tůma 2019-04-02 22:43:29 +02:00
parent d70c4fefd5
commit 3270625172

View File

@ -217,7 +217,7 @@ Graph Track::speed() const
v = 0; v = 0;
stop.append(gs.size()); stop.append(gs.size());
} else if (_useReportedSpeed && sd.at(j).hasSpeed() } else if (_useReportedSpeed && sd.at(j).hasSpeed()
&& seg.outliers.contains(j)) && !seg.outliers.contains(j))
v = sd.at(j).speed(); v = sd.at(j).speed();
else if (!std::isnan(seg.speed.at(j)) && !seg.outliers.contains(j)) else if (!std::isnan(seg.speed.at(j)) && !seg.outliers.contains(j))
v = seg.speed.at(j); v = seg.speed.at(j);