fixed a regression in wind fix export for AI model training

This commit is contained in:
Axel Uhl
2023-11-23 14:44:13 +01:00
parent abc032d08b
commit 014a98028f
@@ -43,7 +43,7 @@ public class RaceWindJsonSerializer extends AbstractTrackedRaceDataJsonSerialize
List<WindSource> highQualityWindSources = trackedRace.getWindSources().stream()
.filter(windSource -> (windSource.getType() == WindSourceType.EXPEDITION
|| windSource.getType() == WindSourceType.RACECOMMITTEE)
&& windSourcesToExclude.contains(windSource))
&& !windSourcesToExclude.contains(windSource))
.collect(Collectors.toList());
JSONArray windSourcesJson = new JSONArray();
TimePoint earliestTimePoint = null;