mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Preconditioner refactoring.
1. Added a Preconditioner interface. 2. SCHUR_JACOBI is now its own class and is independent of SuiteSparse. Change-Id: Id912ab19cf3736e61d1b90ddaf5bfba33e877ec4
This commit is contained in:
@@ -185,8 +185,7 @@ string Solver::Summary::FullReport() const {
|
||||
if (linear_solver_type_used == SPARSE_NORMAL_CHOLESKY ||
|
||||
linear_solver_type_used == SPARSE_SCHUR ||
|
||||
(linear_solver_type_used == ITERATIVE_SCHUR &&
|
||||
(preconditioner_type == SCHUR_JACOBI ||
|
||||
preconditioner_type == CLUSTER_JACOBI ||
|
||||
(preconditioner_type == CLUSTER_JACOBI ||
|
||||
preconditioner_type == CLUSTER_TRIDIAGONAL))) {
|
||||
StringAppendF(&report, "\nSparse Linear Algebra Library %15s\n",
|
||||
SparseLinearAlgebraLibraryTypeToString(
|
||||
|
||||
Reference in New Issue
Block a user