mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-31 01:20:38 +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
@@ -46,7 +46,8 @@ namespace ceres {
|
||||
namespace internal {
|
||||
|
||||
TEST(NumericDiffCostFunction, EasyCaseCentralDifferences) {
|
||||
typedef NumericDiffFunctor<EasyFunctor, CENTRAL, 3, 5, 5> NumericDiffEasyFunctor;
|
||||
typedef NumericDiffFunctor<EasyFunctor, CENTRAL, 3, 5, 5>
|
||||
NumericDiffEasyFunctor;
|
||||
|
||||
internal::scoped_ptr<CostFunction> cost_function;
|
||||
EasyFunctor functor;
|
||||
@@ -64,7 +65,8 @@ TEST(NumericDiffCostFunction, EasyCaseCentralDifferences) {
|
||||
}
|
||||
|
||||
TEST(NumericDiffCostFunction, EasyCaseForwardDifferences) {
|
||||
typedef NumericDiffFunctor<EasyFunctor, FORWARD, 3, 5, 5> NumericDiffEasyFunctor;
|
||||
typedef NumericDiffFunctor<EasyFunctor, FORWARD, 3, 5, 5>
|
||||
NumericDiffEasyFunctor;
|
||||
|
||||
internal::scoped_ptr<CostFunction> cost_function;
|
||||
EasyFunctor functor;
|
||||
|
||||
Reference in New Issue
Block a user