commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1054299 - in /commons/proper/math: branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
Date Sat, 01 Jan 2011 21:59:15 GMT
Author: psteitz
Date: Sat Jan  1 21:59:14 2011
New Revision: 1054299

URL: http://svn.apache.org/viewvc?rev=1054299&view=rev
Log:
Fixed checkstyle errors: extra parens, missing javadoc.

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java?rev=1054299&r1=1054298&r2=1054299&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
Sat Jan  1 21:59:14 2011
@@ -188,7 +188,7 @@ public class NormalDistributionImpl exte
         if (FastMath.abs(dev) > 40 * standardDeviation) {
             return dev < 0 ? 0.0d : 1.0d;
         }
-        return 0.5 * (1.0 + Erf.erf((dev) /
+        return 0.5 * (1.0 + Erf.erf(dev /
                     (standardDeviation * FastMath.sqrt(2.0))));
     }
 
@@ -361,11 +361,17 @@ public class NormalDistributionImpl exte
         return s * s;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportLowerBoundInclusive() {
         return false;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportUpperBoundInclusive() {
         return false;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java?rev=1054299&r1=1054298&r2=1054299&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java
Sat Jan  1 21:59:14 2011
@@ -294,11 +294,17 @@ public class NormalDistributionImpl exte
         return s * s;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportLowerBoundInclusive() {
         return false;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportUpperBoundInclusive() {
         return false;



Mime
View raw message