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:07:51 UTC
[2/5] [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/f1395423
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/f1395423
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/f1395423
Branch: refs/heads/master
Commit: f13954235fd5f2071053b17358b99a8e1dc77aeb
Parents: e8556e8
Author: Luc Maisonobe <lu...@apache.org>
Authored: Tue Nov 3 10:25:10 2015 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Tue Nov 3 10:25:10 2015 +0100
----------------------------------------------------------------------
src/main/java/org/apache/commons/math4/dfp/DfpMath.java | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/f1395423/src/main/java/org/apache/commons/math4/dfp/DfpMath.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/dfp/DfpMath.java b/src/main/java/org/apache/commons/math4/dfp/DfpMath.java
index 79c6821..c66ae2d 100644
--- a/src/main/java/org/apache/commons/math4/dfp/DfpMath.java
+++ b/src/main/java/org/apache/commons/math4/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];