mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Integrate InvertPSDMatrix into the SchurEliminator.
SchurEliminator::Init now takes a bool that tells it whether it can assume that the diagonal blocks it is inverting can be assumed to be full rank or not. This information is then passed onto InvertPSDMatrix. Change-Id: I26037b6233f2aad5584fed245f631c3959928afe
This commit is contained in:
@@ -89,7 +89,8 @@ class ImplicitSchurComplementTest : public ::testing::Test {
|
||||
scoped_ptr<SchurEliminatorBase> eliminator(
|
||||
SchurEliminatorBase::Create(options));
|
||||
CHECK_NOTNULL(eliminator.get());
|
||||
eliminator->Init(num_eliminate_blocks_, bs);
|
||||
const bool kFullRankETE = true;
|
||||
eliminator->Init(num_eliminate_blocks_, kFullRankETE, bs);
|
||||
|
||||
lhs->resize(num_schur_rows, num_schur_rows);
|
||||
rhs->resize(num_schur_rows);
|
||||
|
||||
Reference in New Issue
Block a user