diff --git a/src/test/java/mikera/matrixx/algo/TestQR.java b/src/test/java/mikera/matrixx/algo/TestQR.java index f83a9a37e..c4855e9eb 100644 --- a/src/test/java/mikera/matrixx/algo/TestQR.java +++ b/src/test/java/mikera/matrixx/algo/TestQR.java @@ -6,6 +6,7 @@ import mikera.matrixx.AMatrix; import mikera.matrixx.Matrix; +import mikera.matrixx.Matrix22; import mikera.matrixx.Matrixx; import mikera.matrixx.decompose.IQRResult; import mikera.matrixx.decompose.QR; @@ -22,6 +23,16 @@ public void testQR() { validateQR(a,result); } +// TODO: fix this failing test, issue #69 in GitHub +// @Test +// public void testQR22Regression() { +// AMatrix a = new Matrix(Matrix22.create(0,0,-1,0)); +// IQRResult result = QR.decompose(a); +// System.out.println(result.getQ()); +// System.out.println(result.getR()); +// validateQR(a,result); +// } + @Test public void testZero() { AMatrix a = ZeroMatrix.create(4, 4);