Replace NULL by nullptr

Change-Id: I200a40678091b984a01635d8637a487b7ad5cc13
This commit is contained in:
Sergiu Deitsch
2022-02-14 01:21:14 +01:00
parent 7e4f5a51ba
commit c6158e0ab5
17 changed files with 44 additions and 44 deletions
@@ -111,7 +111,7 @@ class DynamicNumericDiffCostFunction : public DynamicCostFunction {
const bool status =
internal::VariadicEvaluate<internal::DynamicParameterDims>(
*functor_.get(), parameters, residuals);
if (jacobians == NULL || !status) {
if (jacobians == nullptr || !status) {
return status;
}
@@ -133,7 +133,7 @@ class DynamicNumericDiffCostFunction : public DynamicCostFunction {
}
for (size_t block = 0; block < block_sizes.size(); ++block) {
if (jacobians[block] != NULL &&
if (jacobians[block] != nullptr &&
!NumericDiff<CostFunctor,
method,
ceres::DYNAMIC,