From 490a558fe1639e0bedef157762f89c575859dde4 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 6 Apr 2019 22:57:20 -0400 Subject: [PATCH] Fixed dimension mismatch (on account of three extra dummy factors) --- tests/testSubgraphPreconditioner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testSubgraphPreconditioner.cpp b/tests/testSubgraphPreconditioner.cpp index f51263bfb..ce0c80dbd 100644 --- a/tests/testSubgraphPreconditioner.cpp +++ b/tests/testSubgraphPreconditioner.cpp @@ -133,7 +133,7 @@ TEST( SubgraphPreconditioner, system ) Matrix R1 = Rc1->matrix(ordering).first; Matrix Abar(13 * 2, 9 * 2); Abar.topRows(9 * 2) = Matrix::Identity(9 * 2, 9 * 2); - Abar.bottomRows(4 * 2) = A2 * R1.inverse(); + Abar.bottomRows(8) = A2.topRows(8) * R1.inverse(); // Helper function to vectorize in correct order, which is the order in which // we eliminated the spanning tree.