Remove incorrect localization format for zero exception
This commit is contained in:
parent
dc639967c2
commit
991314d461
|
@ -170,7 +170,7 @@ public final class Simplex implements OptimizationData {
|
||||||
final double[] vertexI = simplex[i];
|
final double[] vertexI = simplex[i];
|
||||||
for (int j = 0; j < i; j++) {
|
for (int j = 0; j < i; j++) {
|
||||||
if (steps[j] == 0) {
|
if (steps[j] == 0) {
|
||||||
throw new ZeroException(LocalizedFormats.EQUAL_VERTICES_IN_SIMPLEX);
|
throw new ZeroException();
|
||||||
}
|
}
|
||||||
System.arraycopy(steps, 0, vertexI, 0, j + 1);
|
System.arraycopy(steps, 0, vertexI, 0, j + 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue