diff --git a/gtsam/linear/IterativeSolver.h b/gtsam/linear/IterativeSolver.h index 4323d8e55..7946874bb 100644 --- a/gtsam/linear/IterativeSolver.h +++ b/gtsam/linear/IterativeSolver.h @@ -68,6 +68,8 @@ namespace gtsam { /* interface to the nonlinear optimizer */ virtual VectorValues optimize () = 0; + /* update interface to the nonlinear optimizer */ + virtual void replaceFactors(const GaussianFactorGraph::shared_ptr &factorGraph, const double lambda) {} }; }