Replace NULL with nullptr in the documentation.

Change-Id: I995f68770e2a4b6027c0a1d3edf5eb5132b081d7
This commit is contained in:
Sameer Agarwal
2020-08-03 04:17:33 -07:00
parent ee280e27a6
commit ab4ed32cda
5 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -33,10 +33,10 @@ Modeling
.. function:: bool FirstOrderFunction::Evaluate(const double* const parameters, double* cost, double* gradient) const
Evaluate the cost/value of the function. If ``gradient`` is not
``NULL`` then evaluate the gradient too. If evaluation is
``nullptr`` then evaluate the gradient too. If evaluation is
successful return, ``true`` else return ``false``.
``cost`` guaranteed to be never ``NULL``, ``gradient`` can be ``NULL``.
``cost`` guaranteed to be never ``nullptr``, ``gradient`` can be ``nullptr``.
.. function:: int FirstOrderFunction::NumParameters() const