You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/05/24 06:25:52 UTC

svn commit: r778080 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java

Author: psteitz
Date: Sun May 24 04:25:51 2009
New Revision: 778080

URL: http://svn.apache.org/viewvc?rev=778080&view=rev
Log:
removed duplicate assertion.

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java?rev=778080&r1=778079&r2=778080&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java Sun May 24 04:25:51 2009
@@ -168,7 +168,6 @@
         double[] noVariance = new double[] {1, 1, 1, 1};
         double[] values = new double[] {1, 2, 3, 4};
         assertTrue(Double.isNaN(new PearsonsCorrelation().correlation(noVariance, values)));
-        assertTrue(Double.isNaN(new PearsonsCorrelation().correlation(noVariance, values)));
     }