commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r611480 - in /commons/proper/math/trunk/src/test/org/apache/commons/math/linear: BigMatrixImplTest.java RealMatrixImplTest.java
Date Sat, 12 Jan 2008 21:04:43 GMT
Author: luc
Date: Sat Jan 12 13:04:42 2008
New Revision: 611480

URL: http://svn.apache.org/viewvc?rev=611480&view=rev
Log:
commented out currently unused private code to remove warnings

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java?rev=611480&r1=611479&r2=611480&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
Sat Jan 12 13:04:42 2008
@@ -811,16 +811,16 @@
                 lower.multiply(upper), normTolerance);
     }
          
-    /** Useful for debugging */
-    private void dumpMatrix(BigMatrix m) {
-          for (int i = 0; i < m.getRowDimension(); i++) {
-              String os = "";
-              for (int j = 0; j < m.getColumnDimension(); j++) {
-                  os += m.getEntry(i, j) + " ";
-              }
-              System.out.println(os);
-          }
-    }
+//    /** Useful for debugging */
+//    private void dumpMatrix(BigMatrix m) {
+//          for (int i = 0; i < m.getRowDimension(); i++) {
+//              String os = "";
+//              for (int j = 0; j < m.getColumnDimension(); j++) {
+//                  os += m.getEntry(i, j) + " ";
+//              }
+//              System.out.println(os);
+//          }
+//    }
         
 }
 

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java?rev=611480&r1=611479&r2=611480&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
Sat Jan 12 13:04:42 2008
@@ -774,16 +774,16 @@
     }
       
     
-    /** Useful for debugging */
-    private void dumpMatrix(RealMatrix m) {
-          for (int i = 0; i < m.getRowDimension(); i++) {
-              String os = "";
-              for (int j = 0; j < m.getColumnDimension(); j++) {
-                  os += m.getEntry(i, j) + " ";
-              }
-              System.out.println(os);
-          }
-    }
+//    /** Useful for debugging */
+//    private void dumpMatrix(RealMatrix m) {
+//          for (int i = 0; i < m.getRowDimension(); i++) {
+//              String os = "";
+//              for (int j = 0; j < m.getColumnDimension(); j++) {
+//                  os += m.getEntry(i, j) + " ";
+//              }
+//              System.out.println(os);
+//          }
+//    }
         
 }
 



Mime
View raw message