mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 01:59:13 +00:00
removed an unneeded call to reduce()
(the constructor already reduces the fraction) git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759678 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fa13fe8c5
commit
6a5a46783f
@ -106,7 +106,7 @@ public class BigFraction extends Number implements Comparable<BigFraction> {
|
||||
return ZERO; // normalize zero.
|
||||
}
|
||||
|
||||
return new BigFraction(numerator, denominator).reduce();
|
||||
return new BigFraction(numerator, denominator);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user