psteitz     2004/06/26 15:08:02

  Modified:    math/src/java/org/apache/commons/math/stat/inference
                        ChiSquareTestImpl.java
  Log:
  Removed dead code.
  
  Revision  Changes    Path
  1.10      +1 -20     
jakarta-commons/math/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
  
  Index: ChiSquareTestImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ChiSquareTestImpl.java    26 Jun 2004 21:20:21 -0000      1.9
  +++ ChiSquareTestImpl.java    26 Jun 2004 22:08:02 -0000      1.10
  @@ -258,25 +258,6 @@
       }
       
       /**
  -     * 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 if the array is non-null, but empty
        * 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to