mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 14:38:45 +00:00
fixed bug in CourseChangeCalculator, making one test green
Change-Id: Ida65559e509217dad15e2b61d45776cab9646d4c
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ public class CourseChangeCalculator {
|
||||
diffToCurrentCourseInDegrees = -360.+diffToCurrentCourseInDegrees;
|
||||
}
|
||||
}
|
||||
double result = lastCourseInDegrees + diffToCurrentCourseInDegrees;
|
||||
double result = courseChangeInDegreesSoFar + diffToCurrentCourseInDegrees;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user