This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
The following commit(s) were added to refs/heads/master by this push:
new f21024d7 Correct documented limit for maxDenominator
f21024d7 is described below
commit f21024d74f6711858d999ee418843bdc5a0f6bc5
Author: Alex Herbert <[email protected]>
AuthorDate: Fri Jun 19 07:44:28 2026 +0100
Correct documented limit for maxDenominator
---
.../src/main/java/org/apache/commons/numbers/fraction/Fraction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
index 38f16024..7044369b 100644
---
a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
+++
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
@@ -125,7 +125,7 @@ public final class Fraction
* NOTE: This constructor is called with:
* <ul>
* <li>EITHER a valid epsilon value and the maxDenominator set to
- * Integer.MAX_VALUE (that way the maxDenominator has no effect)</li>
+ * Integer.MIN_VALUE (that way the maxDenominator has no effect)</li>
* <li>OR a valid maxDenominator value and the epsilon value set to
* zero (that way epsilon only has effect if there is an exact
* match before the maxDenominator value is reached).</li>