mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Problem::Evaluate implementation.
1. Add Problem::Evaluate and tests. 2. Remove Solver::Summary::initial/final_* 3. Remove Solver::Options::return_* members. 4. Various cpplint cleanups. Change-Id: I4266de53489896f72d9c6798c5efde6748d68a47
This commit is contained in:
committed by
Gerrit Code Review
parent
d4a0bf86d6
commit
509f68cfe3
@@ -63,7 +63,8 @@ LinearSolver::Summary DenseQRSolver::SolveImpl(
|
||||
}
|
||||
|
||||
// rhs = [b;0] to account for the additional rows in the lhs.
|
||||
const int augmented_num_rows = num_rows + ((per_solve_options.D != NULL) ? num_cols : 0);
|
||||
const int augmented_num_rows =
|
||||
num_rows + ((per_solve_options.D != NULL) ? num_cols : 0);
|
||||
if (rhs_.rows() != augmented_num_rows) {
|
||||
rhs_.resize(augmented_num_rows);
|
||||
rhs_.setZero();
|
||||
|
||||
Reference in New Issue
Block a user