mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40: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:
@@ -33,8 +33,8 @@
|
||||
|
||||
#include <numeric>
|
||||
|
||||
#include "absl/container/fixed_array.h"
|
||||
#include "ceres/internal/eigen.h"
|
||||
#include "ceres/internal/fixed_array.h"
|
||||
#include "ceres/parallel_for.h"
|
||||
#include "ceres/parallel_vector_ops.h"
|
||||
|
||||
@@ -47,7 +47,7 @@ template <typename Derived>
|
||||
inline double Norm(const Eigen::DenseBase<Derived>& x,
|
||||
ContextImpl* context,
|
||||
int num_threads) {
|
||||
FixedArray<double> norms(num_threads, 0.);
|
||||
absl::FixedArray<double> norms(num_threads, 0.);
|
||||
ParallelFor(
|
||||
context,
|
||||
0,
|
||||
@@ -77,7 +77,7 @@ inline double Dot(const VectorLikeX& x,
|
||||
const VectorLikeY& y,
|
||||
ContextImpl* context,
|
||||
int num_threads) {
|
||||
FixedArray<double> dots(num_threads, 0.);
|
||||
absl::FixedArray<double> dots(num_threads, 0.);
|
||||
ParallelFor(
|
||||
context,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user