Removed dead code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141334 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7cee8c8a98
commit
2e54805bf5
|
@ -22,7 +22,7 @@ import org.apache.commons.math.distribution.ChiSquaredDistribution;
|
||||||
/**
|
/**
|
||||||
* Implements Chi-Square test statistics defined in the {@link ChiSquareTest} interface.
|
* Implements Chi-Square test statistics defined in the {@link ChiSquareTest} interface.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2004/06/26 21:20:21 $
|
* @version $Revision: 1.10 $ $Date: 2004/06/26 22:08:02 $
|
||||||
*/
|
*/
|
||||||
public class ChiSquareTestImpl implements ChiSquareTest {
|
public class ChiSquareTestImpl implements ChiSquareTest {
|
||||||
|
|
||||||
|
@ -257,25 +257,6 @@ public class ChiSquareTestImpl implements ChiSquareTest {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true iff all entries of (all subarrays of) the input array are > 0.
|
|
||||||
* Returns true if the array is non-null, but empty
|
|
||||||
*
|
|
||||||
* @param in array to be tested
|
|
||||||
* @return true if all entries of the array are positive
|
|
||||||
* @throws NullPointerException if input array is null
|
|
||||||
*/
|
|
||||||
private boolean isPositive(long[][] in) {
|
|
||||||
for (int i = 0; i < in.length; i ++) {
|
|
||||||
for (int j = 0; j < in[i].length; j++) {
|
|
||||||
if (in[i][j] <= 0) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true iff all entries of (all subarrays of) the input array are >= 0.
|
* Returns true iff all entries of (all subarrays of) the input array are >= 0.
|
||||||
* Returns true if the array is non-null, but empty
|
* Returns true if the array is non-null, but empty
|
||||||
|
|
Loading…
Reference in New Issue