Remove incorrect localization format for zero exception

This commit is contained in:
Alex Herbert 2021-08-22 21:30:01 +01:00
parent dc639967c2
commit 991314d461
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public final class Simplex implements OptimizationData {
final double[] vertexI = simplex[i];
for (int j = 0; j < i; j++) {
if (steps[j] == 0) {
throw new ZeroException(LocalizedFormats.EQUAL_VERTICES_IN_SIMPLEX);
throw new ZeroException();
}
System.arraycopy(steps, 0, vertexI, 0, j + 1);
}