mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
ClangTidy fixes
Change-Id: I26a8bbce337dbd0b5fc18bc1345d9ccbee275080
This commit is contained in:
@@ -27,7 +27,10 @@
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "ceres/context_impl.h"
|
||||
#include "ceres/internal/eigen.h"
|
||||
#include "ceres/parallel_for.h"
|
||||
#include "glog/logging.h"
|
||||
|
||||
namespace ceres::internal {
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "ceres/parallel_for.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <cmath>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
@@ -108,7 +109,7 @@ TEST(ParallelForWithRange, MinimalSize) {
|
||||
0,
|
||||
size,
|
||||
kNumThreads,
|
||||
[&failed, kMinBlockSize](std::tuple<int, int> range) {
|
||||
[&failed](std::tuple<int, int> range) {
|
||||
auto [start, end] = range;
|
||||
if (end - start < kMinBlockSize) failed = true;
|
||||
},
|
||||
|
||||
@@ -29,7 +29,9 @@
|
||||
#include "ceres/parallel_vector_ops.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <tuple>
|
||||
|
||||
#include "ceres/context_impl.h"
|
||||
#include "ceres/parallel_for.h"
|
||||
|
||||
namespace ceres::internal {
|
||||
|
||||
Reference in New Issue
Block a user