Fixed loop variable

This commit is contained in:
Papick Garcia Taboada committed 2015-07-14 10:22:57 +02:00
1 parent 07e794442d
commit 81df6f66d7
1 file changed
+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();