mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 17:36:40 +00:00
fixed caching in wind estimation track
This commit is contained in:
1 parent
db57d35b0e
commit
57c44d3305
1 file changed
+5
-1
+5
-1
@@ -26,6 +26,10 @@ public class EstimatedWindFixesAsNavigableSet extends VirtualWindFixesAsNavigabl
|
||||
this(track, trackedRace, null, null);
|
||||
}
|
||||
|
||||
protected TrackBasedEstimationWindTrackImpl getTrack() {
|
||||
return (TrackBasedEstimationWindTrackImpl) super.getTrack();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param from expected to be an integer multiple of {@link #getResolutionInMilliseconds()} or <code>null</code>
|
||||
* @param to expected to be an integer multiple of {@link #getResolutionInMilliseconds()} or <code>null</code>
|
||||
@@ -36,7 +40,7 @@ public class EstimatedWindFixesAsNavigableSet extends VirtualWindFixesAsNavigabl
|
||||
}
|
||||
|
||||
protected Wind getWind(Position p, TimePoint timePoint) {
|
||||
return getTrackedRace().getEstimatedWindDirection(p, timePoint);
|
||||
return getTrack().getEstimatedWindDirection(p, timePoint);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user