svn commit: r180102 - in /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear: BigMatrixImpl.java RealMatrixImpl.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r180102 - in /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear: BigMatrixImpl.java RealMatrixImpl.java

Phil Steitz-4
Author: psteitz
Date: Sun Jun  5 08:48:36 2005
New Revision: 180102

URL: http://svn.apache.org/viewcvs?rev=180102&view=rev
Log:
Formatting to make checkstyle happy.

Modified:
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrixImpl.java

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java?rev=180102&r1=180101&r2=180102&view=diff
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java (original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java Sun Jun  5 08:48:36 2005
@@ -541,8 +541,8 @@
             data = new BigDecimal[nRows][nCols];
             System.arraycopy(subMatrix, 0, data, 0, subMatrix.length);          
         }  
-        if (((nRows + row) > this.getRowDimension())
-        || (nCols + column > this.getColumnDimension()))
+        if (((nRows + row) > this.getRowDimension()) ||
+            (nCols + column > this.getColumnDimension()))
             throw new MatrixIndexException(
             "invalid row or column index selection");                  
         for (int i = 0; i < nRows; i++) {

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrixImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrixImpl.java?rev=180102&r1=180101&r2=180102&view=diff
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrixImpl.java (original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrixImpl.java Sun Jun  5 08:48:36 2005
@@ -410,8 +410,8 @@
             data = new double[nRows][nCols];
             System.arraycopy(subMatrix, 0, data, 0, subMatrix.length);          
         }  
-        if (((nRows + row) > this.getRowDimension())
-                || (nCols + column > this.getColumnDimension()))
+        if (((nRows + row) > this.getRowDimension()) ||
+            (nCols + column > this.getColumnDimension()))
             throw new MatrixIndexException(
                     "invalid row or column index selection");                  
         for (int i = 0; i < nRows; i++) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]