mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Convert calls to CHECK_NOTNULL to CHECK.
CHECK_NOTNULL is being deprecated and removed from the glog library. Change-Id: I4a6d1eec6e82a768c7861c8f776bf1f9c0b50c74
This commit is contained in:
@@ -109,7 +109,8 @@ void GradientProblemSolver::Solve(const GradientProblemSolver::Options& options,
|
||||
|
||||
double start_time = WallTimeInSeconds();
|
||||
|
||||
*CHECK_NOTNULL(summary) = Summary();
|
||||
CHECK(summary != nullptr);
|
||||
*summary = Summary();
|
||||
summary->num_parameters = problem.NumParameters();
|
||||
summary->num_local_parameters = problem.NumLocalParameters();
|
||||
summary->line_search_direction_type = options.line_search_direction_type; // NOLINT
|
||||
|
||||
Reference in New Issue
Block a user