the getConfig function is so dangerous and it should not exist...
parent
ead3d03866
commit
5e1c719c17
|
@ -73,13 +73,6 @@ namespace gtsam {
|
||||||
NonlinearOptimizer(const FactorGraph& graph, const Ordering& ordering,
|
NonlinearOptimizer(const FactorGraph& graph, const Ordering& ordering,
|
||||||
shared_config config, double lambda = 1e-5);
|
shared_config config, double lambda = 1e-5);
|
||||||
|
|
||||||
/**
|
|
||||||
* Return current config
|
|
||||||
*/
|
|
||||||
const Config& config() const {
|
|
||||||
return *config_;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return current error
|
* Return current error
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue