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
@@ -175,7 +175,7 @@ ProblemImpl* CreateGradientCheckingProblemImpl(
double relative_step_size,
double relative_precision,
GradientCheckingIterationCallback* callback) {
CHECK_NOTNULL(callback);
CHECK(callback != nullptr);
// We create new CostFunctions by wrapping the original CostFunction
// in a gradient checking CostFunction. So its okay for the
// ProblemImpl to take ownership of it and destroy it. The