diff --git a/src/main/java/org/apache/commons/math4/optim/linear/SimplexTableau.java b/src/main/java/org/apache/commons/math4/optim/linear/SimplexTableau.java index d4cf0f309..337381c51 100644 --- a/src/main/java/org/apache/commons/math4/optim/linear/SimplexTableau.java +++ b/src/main/java/org/apache/commons/math4/optim/linear/SimplexTableau.java @@ -384,11 +384,12 @@ class SimplexTableau implements Serializable { } /** - * Given the minimum and maximum value of the exponent for some doubles, pick a change in - * exponent to bring those values closer to 1 - * @param minExp - * @param maxExp - * @return + * Given the minimum and maximum value of the exponent of two {@code double} + * values, pick a change in exponent to bring those values closer to 1. + * + * @param minExp Smallest exponent. + * @param maxExp Largest exponent. + * @return the new exponent. */ private int computeExpChange(int minExp, int maxExp) { int expChange = 0;