further extended docs

release/4.3a0
Jose Luis Blanco Claraco 2020-11-16 07:32:03 +01:00
parent 91d275c9c7
commit 9a4bd10e22
No known key found for this signature in database
GPG Key ID: D443304FBD70A641
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ public:
* // ...
* lmOpts.iterationHook = &foo;
* \endcode
* or to a C++11 lambda:
* or to a C++11 lambda (preferred if you need to capture additional
* context variables, such that the optimizer object itself, the factor graph,
* etc.):
* \code
* lmOpts.iterationHook = [&](size_t iter, double oldError, double newError)
* {