mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fix build breakage.
NOLINT annotations and c++ macros do not mix. Change-Id: I990bee7190189566eb6e78ebec43ce9f01e305c3
This commit is contained in:
@@ -71,7 +71,7 @@ const double kDoubleMax = std::numeric_limits<double>::max();
|
||||
static const double constrained_optimal_cost; \
|
||||
static const double unconstrained_optimal_cost; \
|
||||
static CostFunction* Create() { \
|
||||
return new AutoDiffCostFunction<name, \ // NOLINT
|
||||
return new AutoDiffCostFunction<name, \
|
||||
num_residuals, \
|
||||
num_parameters>(new name); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user