mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-08 20:12:23 +00:00
Fixed double occurence of the first speed with bearing step
This commit is contained in:
1 parent
48559964e3
commit
8b3e7c40a2
1 file changed
+1
-1
+1
-1
@@ -1175,7 +1175,7 @@ public abstract class GPSFixTrackImpl<ItemType, FixType extends GPSFix> extends
|
||||
lockForRead();
|
||||
FixType firstFix = getLastFixAtOrBefore(fromTimePoint);
|
||||
TimePoint currentTimePoint = firstFix == null ? fromTimePoint : firstFix.getTimePoint();
|
||||
for (Iterator<FixType> iterator = getFixesIterator(currentTimePoint, true); iterator
|
||||
for (Iterator<FixType> iterator = getFixesIterator(currentTimePoint, false); iterator
|
||||
.hasNext(); currentTimePoint = iterator.next().getTimePoint()) {
|
||||
SpeedWithBearing estimatedSpeed = getEstimatedSpeed(currentTimePoint);
|
||||
if (estimatedSpeed != null) {
|
||||
|
||||
Reference in new issue
Block a user