Skip to content

Commit

Permalink
add failing QR test case for issue #69
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Oct 8, 2014
1 parent 3f5acde commit e47b1eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/java/mikera/matrixx/algo/TestQR.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit e47b1eb

Please sign in to comment.