mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Replace template use of >>
Older compilers do not support >> to terminate templates, only > >. Ceres supports old compilers. Change-Id: I7e43dc9fdac06507b32dd0c9bf1a3bc2a544916b
This commit is contained in:
@@ -116,7 +116,7 @@ class TinySolverCostFunctionAdapter {
|
||||
// column-major layout, and the CostFunction objects use row-major
|
||||
// Jacobian matrices. So the following bit of code does the
|
||||
// conversion from row-major Jacobians to column-major Jacobians.
|
||||
Eigen::Map<Eigen::Matrix<double, NUM_RESIDUALS, NUM_PARAMETERS>>
|
||||
Eigen::Map<Eigen::Matrix<double, NUM_RESIDUALS, NUM_PARAMETERS> >
|
||||
col_major_jacobian(jacobian, NumResiduals(), NumParameters());
|
||||
col_major_jacobian = row_major_jacobian_;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user