mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 04:13:51 +00:00
Fixed loop variable
This commit is contained in:
1 parent
07e794442d
commit
81df6f66d7
1 file changed
+1
-1
+1
-1
@@ -174,7 +174,7 @@ public class RaceContext {
|
||||
Double averageDirection = null;
|
||||
for (TimePoint timePoint : pointsToGetWind) {
|
||||
WindWithConfidence<com.sap.sse.common.Util.Pair<Position, TimePoint>> averagedWindWithConfidence = windTrack
|
||||
.getAveragedWindWithConfidence(trackedRace.getCenterOfCourse(toTimePoint), toTimePoint);
|
||||
.getAveragedWindWithConfidence(trackedRace.getCenterOfCourse(timePoint), timePoint);
|
||||
if (averagedWindWithConfidence != null) {
|
||||
Wind wind = averagedWindWithConfidence.getObject();
|
||||
averageDirection = wind.getFrom().getDegrees();
|
||||
|
||||
Reference in new issue
Block a user