commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject [math] Add more debug output.
Date Tue, 13 Jan 2015 08:52:28 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master 9a9e72681 -> b262c2359


Add more debug output.


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

Branch: refs/heads/master
Commit: b262c2359c9ed53dae3ce2ce7a0092273f4eec65
Parents: 9a9e726
Author: Thomas Neidhart <tn@tn-desktop.(none)>
Authored: Tue Jan 13 09:51:49 2015 +0100
Committer: Thomas Neidhart <tn@tn-desktop.(none)>
Committed: Tue Jan 13 09:51:49 2015 +0100

----------------------------------------------------------------------
 src/test/java/org/apache/commons/math3/complex/ComplexTest.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/b262c235/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
index 0ee1466..9996e68 100644
--- a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
+++ b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
@@ -17,14 +17,14 @@
 
 package org.apache.commons.math3.complex;
 
+import java.util.List;
+
 import org.apache.commons.math3.TestUtils;
 import org.apache.commons.math3.exception.NullArgumentException;
 import org.apache.commons.math3.util.FastMath;
 import org.junit.Assert;
 import org.junit.Test;
 
-import java.util.List;
-
 
 /**
  */
@@ -830,6 +830,7 @@ public class ComplexTest {
         System.out.println("inf="+inf);
         int intVal = (int) -inf;
         System.out.println("intval="+intVal);
+        System.out.println("neginf<0=" + (inf < 0.0));
         // TODO: temp debug end
         System.out.println("expReal="+FastMath.exp(negInfOne.getReal())); // TODO temp debug
         System.out.println("cosImag="+FastMath.cos(negInfOne.getImaginary())); // TODO temp
debug


Mime
View raw message