You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2015/11/03 12:06:47 UTC

[2/6] [math] Removed useless object.

Removed useless object.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/8c2aa686
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/8c2aa686
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/8c2aa686

Branch: refs/heads/MATH_3_X
Commit: 8c2aa686b920b2ff1493f41bfcd118998c4c7a0e
Parents: da77465
Author: Luc Maisonobe <lu...@apache.org>
Authored: Tue Nov 3 11:17:34 2015 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Tue Nov 3 11:17:34 2015 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math3/dfp/DfpMath.java | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/8c2aa686/src/main/java/org/apache/commons/math3/dfp/DfpMath.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/dfp/DfpMath.java b/src/main/java/org/apache/commons/math3/dfp/DfpMath.java
index 3b19cb6..31ef88f 100644
--- a/src/main/java/org/apache/commons/math3/dfp/DfpMath.java
+++ b/src/main/java/org/apache/commons/math3/dfp/DfpMath.java
@@ -754,11 +754,6 @@ public class DfpMath {
 
         Dfp y;
         if (x.lessThan(pi.divide(4))) {
-            Dfp c[] = new Dfp[2];
-            c[0] = x;
-            c[1] = zero;
-
-            //y = sinInternal(c);
             y = sinInternal(split(x));
         } else {
             final Dfp c[] = new Dfp[2];