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
@@ -127,7 +127,7 @@ class TinySolverAutoDiffFunction {
// This is similar to AutoDifferentiate(), but since there is only one
// parameter block it is easier to inline to avoid overhead.
bool operator()(const T* parameters, T* residuals, T* jacobian) const {
if (jacobian == NULL) {
if (jacobian == nullptr) {
// No jacobian requested, so just directly call the cost function with
// doubles, skipping jets and derivatives.
return cost_functor_(parameters, residuals);