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:
Sameer Agarwal
2018-08-27 07:12:43 -07:00
parent 402a2e4b6d
commit 94712db5c7
59 changed files with 216 additions and 197 deletions
+2 -1
View File
@@ -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