mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Replace NULL with nullptr in the documentation.
Change-Id: I995f68770e2a4b6027c0a1d3edf5eb5132b081d7
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user