Formatting to make checkstyle happy.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@180102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2005-06-05 15:48:36 +00:00
parent cd4c28ecca
commit 99b1bf42ea
2 changed files with 4 additions and 4 deletions

View File

@ -541,8 +541,8 @@ public class BigMatrixImpl implements BigMatrix, Serializable {
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++) {

View File

@ -410,8 +410,8 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
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++) {