From f670c46638e55a130675f914f3bafcd97e7d8d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Wed, 22 Jan 2020 18:00:58 +0100 Subject: [PATCH] add override --- include/core/factor/factor_block_absolute.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/core/factor/factor_block_absolute.h b/include/core/factor/factor_block_absolute.h index a5cfac660..48256ba25 100644 --- a/include/core/factor/factor_block_absolute.h +++ b/include/core/factor/factor_block_absolute.h @@ -72,7 +72,7 @@ class FactorBlockAbsolute : public FactorAnalytic * Returns the residual evaluated in the states provided in std::vector of mapped Eigen::VectorXd * **/ - virtual Eigen::VectorXd evaluateResiduals(const std::vector<Eigen::Map<const Eigen::VectorXd> >& _st_vector) const; + virtual Eigen::VectorXd evaluateResiduals(const std::vector<Eigen::Map<const Eigen::VectorXd> >& _st_vector) const override; /** \brief Returns the normalized jacobians evaluated in the states * @@ -86,7 +86,7 @@ class FactorBlockAbsolute : public FactorAnalytic **/ virtual void evaluateJacobians(const std::vector<Eigen::Map<const Eigen::VectorXd> >& _st_vector, std::vector<Eigen::Map<Eigen::MatrixRowXd> >& jacobians, - const std::vector<bool>& _compute_jacobian) const; + const std::vector<bool>& _compute_jacobian) const override; /** \brief Returns the pure jacobians (without measurement noise) evaluated in the state blocks values * @@ -95,11 +95,11 @@ class FactorBlockAbsolute : public FactorAnalytic * \param jacobians is an output vector of mapped eigen matrices that sould contain the jacobians w.r.t each state block * **/ - virtual void evaluatePureJacobians(std::vector<Eigen::MatrixXd>& jacobians) const; + virtual void evaluatePureJacobians(std::vector<Eigen::MatrixXd>& jacobians) const override; /** \brief Returns the factor residual size **/ - virtual unsigned int getSize() const; + virtual unsigned int getSize() const override; }; inline Eigen::VectorXd FactorBlockAbsolute::evaluateResiduals(const std::vector<Eigen::Map<const Eigen::VectorXd> >& _st_vector) const -- GitLab