mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 09:00:37 +08:00
More C++ification.
"> >" -> ">>" "> > >" -> ">>>" Change-Id: Id1ddd9dbf030fe21d57207741b4ca8403068e55b
This commit is contained in:
@@ -120,7 +120,7 @@ TEST(DynamicNumericdiffCostFunctionTest, TestJacobian) {
|
||||
parameter_blocks[1] = ¶m_block_1[0];
|
||||
|
||||
// Prepare the jacobian.
|
||||
vector<vector<double> > jacobian_vect(2);
|
||||
vector<vector<double>> jacobian_vect(2);
|
||||
jacobian_vect[0].resize(21 * 10, -100000);
|
||||
jacobian_vect[1].resize(21 * 5, -100000);
|
||||
vector<double*> jacobian;
|
||||
@@ -187,7 +187,7 @@ TEST(DynamicNumericdiffCostFunctionTest, JacobianWithFirstParameterBlockConstant
|
||||
parameter_blocks[1] = ¶m_block_1[0];
|
||||
|
||||
// Prepare the jacobian.
|
||||
vector<vector<double> > jacobian_vect(2);
|
||||
vector<vector<double>> jacobian_vect(2);
|
||||
jacobian_vect[0].resize(21 * 10, -100000);
|
||||
jacobian_vect[1].resize(21 * 5, -100000);
|
||||
vector<double*> jacobian;
|
||||
@@ -237,7 +237,7 @@ TEST(DynamicNumericdiffCostFunctionTest, JacobianWithSecondParameterBlockConstan
|
||||
parameter_blocks[1] = ¶m_block_1[0];
|
||||
|
||||
// Prepare the jacobian.
|
||||
vector<vector<double> > jacobian_vect(2);
|
||||
vector<vector<double>> jacobian_vect(2);
|
||||
jacobian_vect[0].resize(21 * 10, -100000);
|
||||
jacobian_vect[1].resize(21 * 5, -100000);
|
||||
vector<double*> jacobian;
|
||||
@@ -421,7 +421,7 @@ class ThreeParameterCostFunctorTest : public ::testing::Test {
|
||||
|
||||
std::unique_ptr<CostFunction> cost_function_;
|
||||
|
||||
vector<vector<double> > jacobian_vect_;
|
||||
vector<vector<double>> jacobian_vect_;
|
||||
|
||||
vector<double> expected_residuals_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user