diff --git a/src/data/track.cpp b/src/data/track.cpp index e6030514..aa3fa9c5 100644 --- a/src/data/track.cpp +++ b/src/data/track.cpp @@ -217,7 +217,7 @@ Graph Track::speed() const v = 0; stop.append(gs.size()); } else if (_useReportedSpeed && sd.at(j).hasSpeed() - && seg.outliers.contains(j)) + && !seg.outliers.contains(j)) v = sd.at(j).speed(); else if (!std::isnan(seg.speed.at(j)) && !seg.outliers.contains(j)) v = seg.speed.at(j);