commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r894109 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java
Date Sun, 27 Dec 2009 21:06:22 GMT
Author: luc
Date: Sun Dec 27 21:06:21 2009
New Revision: 894109

URL: http://svn.apache.org/viewvc?rev=894109&view=rev
Log:
fixed a forgotten replacement of divide method
JIRA: MATH-307

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java?rev=894109&r1=894108&r2=894109&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java Sun
Dec 27 21:06:21 2009
@@ -234,7 +234,7 @@
 
     /** {@inheritDoc} */
     public BigReal divide(BigReal a) throws ArithmeticException {
-        return new BigReal(d.divide(a.d));
+        return new BigReal(d.divide(a.d, scale, roundingMode));
     }
 
     /** {@inheritDoc} */



Mime
View raw message