removed a print

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2009-06-04 20:18:50 +00:00
parent 6b547ba222
commit edb1f394c0
1 changed files with 1 additions and 2 deletions

View File

@ -68,14 +68,13 @@ public class CholeskyDecompositionImplTest {
/** test non positive definite matrix */ /** test non positive definite matrix */
@Test(expected = NotPositiveDefiniteMatrixException.class) @Test(expected = NotPositiveDefiniteMatrixException.class)
public void testNotPositiveDefinite() throws MathException { public void testNotPositiveDefinite() throws MathException {
CholeskyDecomposition cd = new CholeskyDecompositionImpl(MatrixUtils.createRealMatrix(new double[][] { new CholeskyDecompositionImpl(MatrixUtils.createRealMatrix(new double[][] {
{ 14, 11, 13, 15, 24 }, { 14, 11, 13, 15, 24 },
{ 11, 34, 13, 8, 25 }, { 11, 34, 13, 8, 25 },
{ 13, 13, 14, 15, 21 }, { 13, 13, 14, 15, 21 },
{ 15, 8, 15, 18, 23 }, { 15, 8, 15, 18, 23 },
{ 24, 25, 21, 23, 45 } { 24, 25, 21, 23, 45 }
})); }));
System.out.println(cd.getL().multiply(cd.getLT()));
} }
@Test(expected = NotPositiveDefiniteMatrixException.class) @Test(expected = NotPositiveDefiniteMatrixException.class)