mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-02 17:19:37 +00:00
Fixed #1749 - Competitors ranked 11th and below get a score of 1 (NOR 12.0.1 from November 13 2013 effective for ESS 2014)
This commit is contained in:
1 parent
b0fea4411a
commit
7dae7bc4c5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ public class HighPointExtremeSailingSeriesOverall extends HighPoint {
|
||||
if (rank == 0) {
|
||||
result = null;
|
||||
} else {
|
||||
result = Math.max(0.0, (double) (MAX_POINTS - rank + 1));
|
||||
result = Math.max(1.0, (double) (MAX_POINTS - rank + 1));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ public abstract class HighPointFirstGetsFixedScore extends HighPoint {
|
||||
if (rank == 0) {
|
||||
result = null;
|
||||
} else {
|
||||
result = Math.max(0.0, (double) (scoreForRaceWinner - rank + 1));
|
||||
result = Math.max(1.0, (double) (scoreForRaceWinner - rank + 1));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user