You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2011/02/24 17:35:36 UTC
svn commit: r1074202 -
/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java
Author: erans
Date: Thu Feb 24 16:35:36 2011
New Revision: 1074202
URL: http://svn.apache.org/viewvc?rev=1074202&view=rev
Log:
Wrong function.
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java?rev=1074202&r1=1074201&r2=1074202&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/GaussianTest.java Thu Feb 24 16:35:36 2011
@@ -71,10 +71,10 @@ public class GaussianTest {
Assert.assertEquals(0, dfdx.value(Double.NEGATIVE_INFINITY), 0);
Assert.assertEquals(0, dfdx.value(-Double.MAX_VALUE), 0);
- Assert.assertEquals(0, f.value(-1e50), 0);
- Assert.assertEquals(0, f.value(-1e2), 0);
- Assert.assertEquals(0, f.value(1e2), 0);
- Assert.assertEquals(0, f.value(1e50), 0);
+ Assert.assertEquals(0, dfdx.value(-1e50), 0);
+ Assert.assertEquals(0, dfdx.value(-1e2), 0);
+ Assert.assertEquals(0, dfdx.value(1e2), 0);
+ Assert.assertEquals(0, dfdx.value(1e50), 0);
Assert.assertEquals(0, dfdx.value(Double.MAX_VALUE), 0);
Assert.assertEquals(0, dfdx.value(Double.POSITIVE_INFINITY), 0);
}