mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user