Commit in lcsim/src/Jama/util on MAIN | |||
Maths.java | +2 | -2 | 1.2 -> 1.3 |
MJC: Not all matrices are 5x5 symmetric matrices
diff -u -r1.2 -r1.3 --- Maths.java 23 Oct 2006 19:42:28 -0000 1.2 +++ Maths.java 23 Apr 2007 21:18:29 -0000 1.3 @@ -35,8 +35,8 @@
int nRows = mIn.getRowDimension(); int nCols = mIn.getColumnDimension(); hep.physics.matrix.BasicMatrix result = new hep.physics.matrix.BasicMatrix(nRows,nCols);
- for (int i=0;i<5;i++) - for (int j=0; j<=i; j++)
+ for (int i=0;i<nRows;i++) + for (int j=0; j<nCols; j++)
result.setElement(i,j,mIn.get(i,j)); return result; }