mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Replace NULL by nullptr
Change-Id: I200a40678091b984a01635d8637a487b7ad5cc13
This commit is contained in:
@@ -108,7 +108,7 @@ class TinySolverCostFunctionAdapter {
|
||||
double* residuals,
|
||||
double* jacobian) const {
|
||||
if (!jacobian) {
|
||||
return cost_function_.Evaluate(¶meters, residuals, NULL);
|
||||
return cost_function_.Evaluate(¶meters, residuals, nullptr);
|
||||
}
|
||||
|
||||
double* jacobians[1] = {row_major_jacobian_.data()};
|
||||
|
||||
Reference in New Issue
Block a user