commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r802547 - /commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java
Date Sun, 09 Aug 2009 14:38:59 GMT
Author: luc
Date: Sun Aug  9 14:38:58 2009
New Revision: 802547

URL: http://svn.apache.org/viewvc?rev=802547&view=rev
Log:
removed debug stuff

Modified:
    commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java

Modified: commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java?rev=802547&r1=802546&r2=802547&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java
(original)
+++ commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/AbstractStaticFunctionsTest.java
Sun Aug  9 14:38:58 2009
@@ -172,13 +172,6 @@
             double d = ((Double) javaMethod.invoke(null, javaArgs)).doubleValue();
 
             // check the nabla and java classes compute the same function
-            if (Math.abs(d - dp.getValue()) > valueTolerance) {
-                nablaArgs = convert(nablaMethod.getParameterTypes(), argsSet);
-                javaArgs = convert(javaMethod.getParameterTypes(), argsSet);
-                d = ((Double) javaMethod.invoke(null, javaArgs)).doubleValue();
-                dp = (DifferentialPair) nablaMethod.invoke(null, nablaArgs);
-                
-            }
             Assert.assertEquals(d, dp.getValue(), valueTolerance);
 
         } catch (InvocationTargetException ite) {



Mime
View raw message