From e42e36e0049d0b5d2a14db9d03a989859f7902d3 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 13 Mar 2014 22:44:21 -0400 Subject: [PATCH] hessianDiagonal is now virtual --- gtsam/linear/GaussianFactorGraph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/linear/GaussianFactorGraph.h b/gtsam/linear/GaussianFactorGraph.h index 267792f33..aea90da1a 100644 --- a/gtsam/linear/GaussianFactorGraph.h +++ b/gtsam/linear/GaussianFactorGraph.h @@ -224,10 +224,10 @@ namespace gtsam { std::pair hessian(boost::optional optionalOrdering = boost::none) const; /** Return only the diagonal of the Hessian A'*A, as a VectorValues */ - VectorValues hessianDiagonal() const; + virtual VectorValues hessianDiagonal() const; /** Return the block diagonal of the Hessian for this factor */ - std::map hessianBlockDiagonal() const; + virtual std::map hessianBlockDiagonal() const; /** Solve the factor graph by performing multifrontal variable elimination in COLAMD order using * the dense elimination function specified in \c function (default EliminatePreferCholesky),