Skip to content
Snippets Groups Projects

Hazard service updates

Merged Powers, Peter M. requested to merge (removed):hazard-service-updates into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -381,7 +381,7 @@ public final class HazardService {
@@ -381,7 +381,7 @@ public final class HazardService {
private static int truncationLimit(double[] yValues) {
private static int truncationLimit(double[] yValues) {
int limit = 1;
int limit = 1;
double y = yValues[0];
double y = yValues[0];
while (y >= TRUNCATION_LIMIT && limit < yValues.length) {
while (y > TRUNCATION_LIMIT && limit < yValues.length) {
y = yValues[limit++];
y = yValues[limit++];
}
}
return limit;
return limit;
Loading