From f1bc66c0174b7200426df183426e39bd500f552f Mon Sep 17 00:00:00 2001 From: Yong-Dian Jian Date: Tue, 4 Sep 2012 15:33:36 +0000 Subject: [PATCH] add back an accidentally deleted function --- gtsam/linear/IterativeSolver.h | 2 ++ 1 file changed, 2 insertions(+) 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) {} }; }