From 6f74aee73d3f42735dda44761ed6bfca4ce30525 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 27 Dec 2009 21:06:21 +0000 Subject: [PATCH] fixed a forgotten replacement of divide method JIRA: MATH-307 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894109 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math/util/BigReal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math/util/BigReal.java b/src/main/java/org/apache/commons/math/util/BigReal.java index b96990f38..5a904b80b 100644 --- a/src/main/java/org/apache/commons/math/util/BigReal.java +++ b/src/main/java/org/apache/commons/math/util/BigReal.java @@ -234,7 +234,7 @@ public class BigReal implements FieldElement, Comparable, Seri /** {@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} */