diff --git a/src/java/org/apache/commons/math/stat/inference/UnknownDistributionChiSquareTest.java b/src/java/org/apache/commons/math/stat/inference/UnknownDistributionChiSquareTest.java
index 1429fd332..432e13c13 100644
--- a/src/java/org/apache/commons/math/stat/inference/UnknownDistributionChiSquareTest.java
+++ b/src/java/org/apache/commons/math/stat/inference/UnknownDistributionChiSquareTest.java
@@ -61,7 +61,7 @@ public interface UnknownDistributionChiSquareTest extends ChiSquareTest {
* @throws IllegalArgumentException if preconditions are not met
*/
double chiSquareDataSetsComparison(long[] observed1, long[] observed2)
- throws IllegalArgumentException;
+ throws IllegalArgumentException;
/**
*
Returns the observed significance level, or Performs a Chi-Square two sample test comparing two binned data
@@ -138,6 +138,6 @@ public interface UnknownDistributionChiSquareTest extends ChiSquareTest {
* @throws MathException if an error occurs performing the test
*/
boolean chiSquareTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)
- throws IllegalArgumentException, MathException;
+ throws IllegalArgumentException, MathException;
}
diff --git a/src/java/org/apache/commons/math/util/MathUtils.java b/src/java/org/apache/commons/math/util/MathUtils.java
index d7008dc1e..9eba650a3 100644
--- a/src/java/org/apache/commons/math/util/MathUtils.java
+++ b/src/java/org/apache/commons/math/util/MathUtils.java
@@ -532,7 +532,7 @@ public final class MathUtils {
* @return the value of the logarithm - the number y such that base^y = x.
*/
public static double log(double base, double x) {
- return Math.log(x)/Math.log(base);
+ return Math.log(x)/Math.log(base);
}
/**