Small cleanups

release/4.3a0
Richard Roberts 2012-03-22 19:47:29 +00:00
parent ab4117090f
commit b5e00efecf
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ public:
* @param params The optimization parameters
*/
GaussNewtonOptimizer(const NonlinearFactorGraph& graph, const Values& values,
const GaussNewtonParams& params,
const GaussNewtonParams& params = GaussNewtonParams(),
const Ordering& ordering = Ordering()) :
NonlinearOptimizer(
SharedGraph(new NonlinearFactorGraph(graph)),
@ -110,7 +110,7 @@ public:
* @param params The optimization parameters
*/
GaussNewtonOptimizer(const NonlinearFactorGraph& graph, const Values& values,
const Ordering& ordering = Ordering()) :
const Ordering& ordering) :
NonlinearOptimizer(
SharedGraph(new NonlinearFactorGraph(graph)),
SharedValues(new Values(values)),
@ -151,7 +151,7 @@ public:
/** Update the graph, values, and/or parameters, leaving all other state
* the same. Any of these that are empty shared pointers are left unchanged
* in the returned optimizer object. Returns a new updated
* NonlinearOptimzier object, the original is not modified.
* NonlinearOptimizer object, the original is not modified.
*/
virtual auto_ptr update(
const SharedGraph& newGraph,

View File

@ -177,7 +177,7 @@ public:
/** Update the graph, values, and/or parameters, leaving all other state
* the same. Any of these that are empty shared pointers are left unchanged
* in the returned optimizer object. Returns a new updated NonlinearOptimzier
* in the returned optimizer object. Returns a new updated NonlinearOptimizer
* object, the original is not modified.
*/
virtual auto_ptr update(