fix
parent
9f1e534500
commit
16b05c438d
|
@ -60,7 +60,7 @@ namespace gtsam {
|
||||||
* The multifrontal solver
|
* The multifrontal solver
|
||||||
*/
|
*/
|
||||||
template<class G, class T>
|
template<class G, class T>
|
||||||
T optimizeSPCG(const G& graph, const T& initialEstimate, const NonlinearOptimizationParameters& parameters) {
|
T optimizeSPCG(const G& graph, const T& initialEstimate, const NonlinearOptimizationParameters& parameters = NonlinearOptimizationParameters()) {
|
||||||
|
|
||||||
// initial optimization state is the same in both cases tested
|
// initial optimization state is the same in both cases tested
|
||||||
typedef NonlinearOptimizer<G, T, SubgraphPreconditioner, SubgraphSolver<G,T> > SPCGOptimizer;
|
typedef NonlinearOptimizer<G, T, SubgraphPreconditioner, SubgraphSolver<G,T> > SPCGOptimizer;
|
||||||
|
|
Loading…
Reference in New Issue