aboutsummaryrefslogtreecommitdiff
path: root/internal/ceres/implicit_schur_complement_test.cc
diff options
context:
space:
mode:
authorScott Ettinger <settinger@google.com>2013-09-09 12:54:43 -0700
committerScott Ettinger <settinger@google.com>2013-09-10 00:29:21 +0000
commit399f7d09e0c45af54b77b4ab9508d6f23759b927 (patch)
treeabf3b5ab8259679fb37a8e20308e8cd2a8cd439c /internal/ceres/implicit_schur_complement_test.cc
parent1d2624a10e2c559f8ba9ef89eaa30832c0a83a96 (diff)
downloadceres-solver-kitkat-mr2-release.tar.gz
Bug: 10673139 Bug: 10621282 Change-Id: Ib740a6e0e29049cc203da9f083b0d4f5734a2741
Diffstat (limited to 'internal/ceres/implicit_schur_complement_test.cc')
-rw-r--r--internal/ceres/implicit_schur_complement_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ceres/implicit_schur_complement_test.cc b/internal/ceres/implicit_schur_complement_test.cc
index bd36672..1694273 100644
--- a/internal/ceres/implicit_schur_complement_test.cc
+++ b/internal/ceres/implicit_schur_complement_test.cc
@@ -109,7 +109,7 @@ class ImplicitSchurComplementTest : public ::testing::Test {
solution->setZero();
VectorRef schur_solution(solution->data() + num_cols_ - num_schur_rows,
num_schur_rows);
- schur_solution = lhs->selfadjointView<Eigen::Upper>().ldlt().solve(*rhs);
+ schur_solution = lhs->selfadjointView<Eigen::Upper>().llt().solve(*rhs);
eliminator->BackSubstitute(A_.get(), b_.get(), D,
schur_solution.data(), solution->data());
}
@@ -156,7 +156,7 @@ class ImplicitSchurComplementTest : public ::testing::Test {
// Reference solution to the f_block.
const Vector reference_f_sol =
- lhs.selfadjointView<Eigen::Upper>().ldlt().solve(rhs);
+ lhs.selfadjointView<Eigen::Upper>().llt().solve(rhs);
// Backsubstituted solution from the implicit schur solver using the
// reference solution to the f_block.