mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-31 01:20:38 +08:00
ceres::internal::FixedArray -> absl::FixedArray
Ceres Solver was using an old forked version of FixedArray, now that we are using absl, we can use the official version that ships with it. Change-Id: Ic88d7f6e8a49b928d611f7cbb04172452b322b01
This commit is contained in:
@@ -40,9 +40,9 @@
|
||||
|
||||
#include "Eigen/Dense"
|
||||
#include "Eigen/StdVector"
|
||||
#include "absl/container/fixed_array.h"
|
||||
#include "absl/log/check.h"
|
||||
#include "ceres/cost_function.h"
|
||||
#include "ceres/internal/fixed_array.h"
|
||||
#include "ceres/internal/variadic_evaluate.h"
|
||||
#include "ceres/numeric_diff_options.h"
|
||||
#include "ceres/types.h"
|
||||
@@ -125,8 +125,8 @@ struct NumericDiff {
|
||||
|
||||
// For each parameter in the parameter block, use finite differences to
|
||||
// compute the derivative for that parameter.
|
||||
FixedArray<double> temp_residual_array(num_residuals_internal);
|
||||
FixedArray<double> residual_array(num_residuals_internal);
|
||||
absl::FixedArray<double> temp_residual_array(num_residuals_internal);
|
||||
absl::FixedArray<double> residual_array(num_residuals_internal);
|
||||
Map<ResidualVector> residuals(residual_array.data(),
|
||||
num_residuals_internal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user